The Egyptian who bought him instructed his wife: "House him honourably. He may be of use to us. We may even adopt him as a son." So, We firmly established Joseph in the land, and taught him the interpretation of dreams. God dominated in his affairs, though most men do not know. 21 And when he reached maturity, We bestowed on him judgment and knowledge. As such We recompense those who do 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 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 they both rushed to the door; and she [grasped and] rent his tunic from behind - and [lo!] they met her lord at the door! Said she: "What ought to be the punishment of one who had evil designs on [the virtue of] thy wife - [what] but imprisonment or a [yet more] grievous chastisement?" 25 Joseph said, "It was she who tried to seduce me." Someone from the household in confirmation of Joseph's statement said, "If his shirt it torn from the front, she has spoken the truth and he is lying, 26 But if it is torn from behind then she is lying, and he speaks the truth." 27 So when he saw his shirt torn from behind [her husband] said, "This is the guile of you women. Your guile is great indeed. 28 “O Yusuf! Disregard this – and O woman! Seek forgiveness for your sin; indeed you are of the mistaken.” 29