And the Egyptian who bought him said to his wife: Give him an honorable abode, maybe he will be useful to us, or we may adopt him as a son. And thus did We establish Yusuf in the land and that We might teach him the interpretation of sayings; and Allah is the master of His affair, but most people do not know. 21 When Joseph attained His full manhood, We gave him power and knowledge: thus do We reward those who do right. 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 And she advanced towards him, and had Joseph not perceived a sign from his Lord he too would have advanced towards her. Thus was Joseph shown a sign from his Lord that We might avert from him all evil and indecency, for indeed he was one of Our chosen servants. 24 So they raced with one another to the door, and she tore his shirt from the back. They both found her lord (i.e. her husband) at the door. She said: "What is the recompense (punishment) for him who intended an evil design against your wife, except that he be put in prison or a painful torment?" 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 But if the shirt is torn from behind then she is a liar, and he speaks the truth." 27 When the master saw that Joseph's shirt was torn from behind, he told his wife, "This is some of your womanly guile in which you are certainly skillful. 28 Yusuf! turn away therefrom; and, thou woman! ask forgiveness for thy sin; verily thou hast been of the guilty. 29