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 he reached his maturity We vouchsafed unto him judgement and knowledge; and Thus We recompense the well-doers. 22 And she, in whose house he was, sought to seduce him and closed the doors saying: 'Come' 'In Allah is my refuge' he replied. 'My Lord has made my dwelling a good one. Harmdoers never prosper' 23 But the woman desired him, and he would have desired her but for the indication he received from his Lord. This was so that We may avert both evil and lechery from him, for he was one of Our chosen devotees. 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 said, "It was she who tried to seduce me." Someone from the household in confirmation of Joseph's statement said, "If his shirt it torn from the front, she has spoken the truth and he is lying, 26 But if the shirt is torn from behind then she is a liar, and he speaks the truth." 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 Joseph, turn away from this. And you, ask forgiveness for your sin. You are indeed one of the sinners' 29