The Egyptian who bought him instructed his wife: "House him honourably. He may be of use to us. We may even adopt him as a son." So, We firmly established Joseph in the land, and taught him the interpretation of dreams. God dominated in his affairs, though most men do not know. 21 And when he reached full manhood, We bestowed upon him the ability to judge [between right and wrong,] as well as [innate] knowledge: for thus do We reward the doers of good. 22 And she in whose house he was, solicited him against himself; and she fastened the doors, and said: come on, O thou! He said: Allah be my refuge: verily he is my lord; he hath made me a goodly dwelling; verily the wrong-doers fare not well. 23 And indeed the woman desired him; and he too would have desired her were he not to witness the sign of his Lord*; this is what We did, to turn away evil and lewdness from him; indeed He is one of Our chosen bondmen. (* Allah saved him and he never desired this immorality.) 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 He said: "It was she that sought to seduce me - from my (true) self." And one of her household saw (this) and bore witness, (thus):- "If it be that his shirt is rent from the front, then is her tale true, and he is a liar! 26 "But if it be that his shirt is torn from the back, then is she the liar, and he is telling 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 Joseph, turn away from this. And you, ask forgiveness for your sin. You are indeed one of the sinners' 29