The Egyptian that bought him said to his wife: 'Make his stay honorable. He may benefit us, or take him for our son' As such We established Joseph in the land, so that We might teach him the interpretation of visions. Allah prevails in His affairs, though most people do not know. 21 And when he [Yusuf (Joseph)] attained his full manhood, We gave him wisdom and knowledge (the Prophethood), thus We reward the Muhsinun (doers of good - see V. 2:112). 22 His master's wife then tried to seduce him. She locked the doors and said to him, "Come on." He said, "I seek refuge in God who has given me a good place of shelter. The unjust will certainly have no happiness." 23 She desired him, had he not been shown the proof of his Lord he would have taken her. But We turned him away from evil and abomination, for he was one of Our sincere worshipers. 24 So they both raced each other to the door, and she tore his shirt from the back: they both found her lord near the door. She said: "What is the (fitting) punishment for one who formed an evil design against thy wife, but prison or a grievous chastisement?" 25 Joseph said: "It is she who was trying to tempt me to herself." And a witness belonging to her own household testified (on grounds of circumstantial evidence): "If his shirt is torn from the front, then she is telling the truth and he is a liar. 26 but if his shirt is torn from behind, she is lying and he is speaking the truth." 27 When he saw his shirt was torn from behind he said, 'This is of your women's guile; surely your guile is great. 28 Joseph, stay away from such affairs and you, woman, ask forgiveness for your sin; the guilt is yours." 29