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 When Joseph attained His full manhood, We gave him power and knowledge: thus do We reward those who do right. 22 But she in whose house he resided wished to seduce him and, closing the doors, said: "Come into me. "God forbid!" he said; "he is my master who has approved my stay. Surely those who act wrongly do not prosper." 23 She verily desired him, and he would have desired her if it had not been that he saw the argument of his Lord. Thus it was, that We might ward off from him evil and lewdness. Lo! he was of Our chosen slaves. 24 They both ran to the door and, in the struggle, she tore his shirt at the back. They found her husband at the door. She cried, "Shall not the man who wished to violate your wife be thrown into prison or sternly punished?" 25 (Joseph) said: "It was she who wanted to seduce me." And a witness from her family testified: "If the shirt is torn from the front then the woman is speaking the truth, and he is a liar. 26 But if the shirt is torn from behind then she is a liar, and he speaks the truth." 27 So when the husband saw Joseph's shirt torn from behind he exclaimed: "Surely, this is one of the tricks of you women; your tricks are indeed great. 28 Joseph, disregard this. And you - woman - ask forgiveness for your sin, for indeed it is you who has been at fault." 29