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 And when he had attained his maturity, We gave him wisdom and knowledge: and 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 She was determined to have him and were it not for his faith in God, he would certainly have yielded to her. Thus did We protect him from evil and indecency. He was certainly one of Our sincere servants. 24 And they both raced towards the door, and the woman tore his shirt from behind, and they both found her husband at the door; she said, “What is the punishment of the one who sought evil with your wife, other than prison or a painful torture?” 25 Joseph said: "It is she who was trying to tempt me to herself." And a witness belonging to her own household testified (on grounds of circumstantial evidence): "If his shirt is torn from the front, then she is telling the truth and he is a liar. 26 But if his shirt is torn from the back, then she has lied, and he is of the truthful." 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 Joseph, turn away from this; and thou, woman, ask forgiveness of thy crime; surely thou art one of the sinners.' 29