And he who bought him in Misr said unto his wife: make his dwelling honourable: belike he may profit us or we may take him as a son. And thus We made a place for Yusuf in the land, and it was in order that We may teach him the interpretation of discourses. And Allah is Dominant in His purpose, but most of men know not. 21 When he reached the prime of life We gave him wisdom and knowledge. Thus We reward those who are good. 22 And she in whose house he was, solicited him against himself; and she fastened the doors, and said: come on, O thou! He said: Allah be my refuge: verily he is my lord; he hath made me a goodly dwelling; verily the wrong-doers fare not well. 23 She started towards him, and he would have succumbed to her, if he had not seen a sign from his Lord -- We did this in order to keep evil and indecency away from him, for he was truly one of Our chosen 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." One of her household testified, "If his shirt is torn at the front then she is speaking the truth, and he is lying. 26 “And if his shirt is torn from behind, then the woman is a liar and he is truthful.” 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 "O Joseph, pass this over! (O wife), ask forgiveness for thy sin, for truly thou hast been at fault!" 29