And he who bought him in Misr said unto his wife: make his dwelling honourable: belike he may profit us or we may take him as a son. And thus We made a place for Yusuf in the land, and it was in order that We may teach him the interpretation of discourses. And Allah is Dominant in His purpose, but most of 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 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 indeed she did desire him and he would have inclined to her desire, had he not seen the evidence of his Lord. Thus it was, that We might turn away from him evil and illegal sexual intercourse. Surely, he was one of Our chosen, guided slaves. 24 Both of them raced to the door, and she (grabbed and) rent his shirt from behind. They met her lord outside the door. "There is no other penalty for a man," said she, "who wanted to outrage your wife but imprisonment or grievous punishment." 25 Said Yusuf, “It was she who lured me, that I may not guard myself” – and a witness from her own household testified; “If his shirt is torn from the front, then the woman is truthful and he has spoken incorrectly.” 26 And if his shirt be rent from behind, then she lieth, and he is of the truth-tellers. 27 When the master saw that Joseph's shirt was torn from behind, he told his wife, "This is some of your womanly guile in which you are certainly skillful. 28 Joseph, turn away from this; and thou, woman, ask forgiveness of thy crime; surely thou art one of the sinners.' 29