And the Egyptian who purchased him said to his wife, “Keep him honourably – we may derive some benefit due to him or we may adopt him as our son”; and this is how we established Yusuf in the land, and that We might teach him how to interpret events; and Allah is Dominant upon His works, but most men do not know. 21 And when he was fully grown, We gave him judgment and knowledge. Even so We recompense the good-doers. 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 And certainly she made for him, and he would have made for her, were it not that he had seen the manifest evidence of his Lord; thus (it was) that We might turn away from him evil and indecency, surely he was one of Our sincere servants. 24 And they both raced to the door, and she tore his shirt from the back, and they found her husband at the door. She said, "What is the recompense of one who intended evil for your wife but that he be imprisoned or a painful punishment?" 25 Joseph said, "It was she who sought to seduce me." One of her household testified, "If his shirt is torn at the front then she is speaking the truth, and he is lying. 26 “And if his shirt is torn from behind, then the woman is a liar and he is truthful.” 27 And when he saw his shirt torn at the back, he said: 'This is one of your (women's) guiles. Your guile, (O woman), is great indeed! 28 Joseph, stay away from such affairs and you, woman, ask forgiveness for your sin; the guilt is yours." 29