And he of Egypt who purchased him said unto his wife: Receive him honourably. Perchance he may prove useful to us or we may adopt him as a son. Thus we established Joseph in the land that We might teach him the interpretation of events. And Allah was predominant in His career, but most of mankind know not. 21 And when Joseph reached the age of maturity, We granted him judgement and knowledge. Thus do We reward those who do good. 22 His master's wife then tried to seduce him. She locked the doors and said to him, "Come on." He said, "I seek refuge in God who has given me a good place of shelter. The unjust will certainly have no happiness." 23 And certainly she made for him, and he would have made for her, were it not that he had seen the manifest evidence of his Lord; thus (it was) that We might turn away from him evil and indecency, surely he was one of Our sincere servants. 24 And the twain raced to the door, and she rent his shirt from behind, and the twain met her master at the door. She said: What is the meed of him who intended evil toward thy household except that he be imprisoned, or a torment afflictive? 25 [Joseph] said, "It was she who sought to seduce me." And a witness from her family testified. "If his shirt is torn from the front, then she has told the truth, and he is of the liars. 26 but, if his shirt is torn from behind, she lied, and he is of the truthful' 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