And he (the man) from Egypt who bought him, said to his wife: "Make his stay comfortable, may be he will profit us or we shall adopt him as a son." Thus did We establish Yusuf (Joseph) in the land, that We might teach him the interpretation of events. And Allah has full power and control over His Affairs, but most of men know not. 21 When Joseph attained His full manhood, We gave him power and knowledge: thus do We reward those who do right. 22 And [it so happened that] she in whose house he was living [conceived a passion for him and] sought to make him yield himself unto her; and she bolted the doors and said, "Come thou unto me!" [But Joseph] answered: "May God preserve me! Behold, goodly has my master made my stay [in this house]! Verily, to no good end come they that do [such] wrong!" 23 And she certainly determined [to seduce] him, and he would have inclined to her had he not seen the proof of his Lord. And thus [it was] that We should avert from him evil and immorality. Indeed, he was of Our chosen servants. 24 They raced to the door; and she tore his shirt from behind. They encountered her master by the door. She said, 'What is the recompense of him who purposes evil against thy folk, but that he should be imprisoned, or a painful chastisement?' 25 [Joseph] exclaimed: "It was she who sought to make me yield myself unto her!" Now one of those present, a member of her own household, suggested this: If his tunic has been torn from the front, then she is telling the truth, and he is a liar; 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,- that it was torn at the back,- (her husband) said: "Behold! It is a snare of you women! truly, mighty is your snare! 28 O Joseph! Turn away from this, and thou, (O woman), ask forgiveness for thy sin. Lo! thou art of the faulty. 29