The Egyptian who bought him said to his wife, "Lodge him honourably, he may prove of benefit to us, or we may even adopt him as our son." Thus We established Joseph in the land, so that We might teach him the true meaning of events. God has power over all things. However, most people do not know this. 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 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 She started towards him, and he would have succumbed to her, if he had not seen a sign from his Lord -- We did this in order to keep evil and indecency away from him, for he was truly one of Our chosen servants. 24 And they both hastened to the door, and she rent his shirt from behind and they met her husband at the door. She said: What is the punishment of him who intends evil to your wife except imprisonment or a painful chastisement? 25 He said: it is she who solicited me against myself. And a witness from her own household bare witness: if his shirt be rent in front, then she speaketh the truth and he is of the liars. 26 And if his shirt is rent from behind, she tells a lie and he is one of the truthful. 27 When the husband saw the shirt torn at the back, he said: "Surely this is a woman's ruse, and the wiles of women are great. 28 Ignore this affair, O Joseph; and you, O woman, ask forgiveness for your sin, for you were surely errant." 29