And the one from Egypt who bought him said to his wife, "Make his residence comfortable. Perhaps he will benefit us, or we will adopt him as a son." And thus, We established Joseph in the land that We might teach him the interpretation of events. And Allah is predominant over His affair, but most of the people do not know. 21 And when Joseph reached maturity, We gave him judgment and knowledge. And thus We reward the doers of good. 22 However, the woman in whose house he lived, wanted to seduce him. One day she bolted the doors and said, "Come!" He replied, "God forbid! Truly [your husband] is my master and has treated me honourably. Wrongdoers certainly never prosper." 23 And (with passion) did she desire him, and he would have desired her, but that he saw the evidence of his Lord: thus (did We order) that We might turn away from him (all) evil and shameful deeds: for he was one of Our servants, sincere and purified. 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 Said he, 'It was she that solicited me'; and a witness of her folk bore witness, 'If his shirt has been torn from before then she has spoken truly, and he is one of the liars; 26 but if his tunic has been torn from behind, then she is lying, and he is speaking the truth." 27 So when he (her husband) saw his [(Yusuf's (Joseph)] shirt torn at the back; (her husband) said: "Surely, it is a plot of you women! Certainly mighty is your plot! 28 Joseph, turn away from this. And you, ask forgiveness for your sin. You are indeed one of the sinners' 29