He that bought him, being of Egypt, said to his wife, 'Give him goodly lodging, and it may be that he will profit us, or we may take him for our own son.' So We established Joseph in the land, and that We might teach him the interpretation of tales. God prevails in His purpose, but most men know not. 21 And when he matured to his full strength, We bestowed him wisdom and knowledge; and this is how We reward the virtuous. 22 And she, in whose house he was, sought to seduce him (to do an evil act), she closed the doors and said: "Come on, O you." He said: "I seek refuge in Allah (or Allah forbid)! Truly, he (your husband) is my master! He made my stay agreeable! (So I will never betray him). Verily, the Zalimun (wrong and evil-doers) will never be successful." 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 And they raced with one another to the door, and she tore his shirt from behind, and they met her lord and master at the door. She said: What shall be his reward, who wisheth evil to thy folk, save prison or a painful doom? 25 [Joseph] said, "It was she who sought to seduce me." And a witness from her family testified. "If his shirt is torn from the front, then she has told the truth, and he is of the liars. 26 "But if it be that his shirt is torn from the back, then she has told a lie and he is speaking the truth!" 27 So when he saw his shirt torn from behind, he said: Lo! this is of the guile of you women. Lo! the guile of you is very great. 28 "O Joseph, pass this over! (O wife), ask forgiveness for thy sin, for truly thou hast been at fault!" 29