21 And the Egyptian who bought him said to his wife: Make his stay honourable. Maybe he will be useful to us, or we may adopt him as a son. And thus We established Joseph in the land, and that We might teach him the interpretation of sayings. And Allāh has full control over His affair, but most people know not.

22 And when he attained his maturity, We gave him wisdom and knowledge. And thus do We reward the doers of good.

23 And she in whose house he was, sought to seduce him, and made fast the doors and said: Come. He said: Allāh forbid! Surely my Lord made good my abode. The wrongdoers never prosper.

24 And certainly she desired him, and he would have desired 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 chosen servants.

25 And they raced with one another to the door, and she rent his shirt from behind, and they met her husband at the door. She said: What is the punishment for one who intends evil to thy wife, except imprisonment or a painful chastisement?

26 He said: She sought to seduce me. And a witness of her own family bore witness: If his shirt is rent in front, she speaks the truth and he is of the liars.

27 And if his shirt is rent behind, she tells a lie and he is of the truthful.

28 So when he saw his shirt rent behind, he said: Surely it is a device of you women. Your device is indeed great!

29 O Joseph, turn aside from this. And (O my wife), ask forgiveness for thy sin. Surely thou art one of the sinful.

30 And women in the city said: The chief’s wife seeks to seduce her slave. He has indeed affected her deeply with (his) love. Truly we see her in manifest error.

31 So when she heard of their device, she sent for them and prepared for them a repast, and gave each of them a knife, and said (to Joseph): Come out to them. So when they saw him, they deemed him great, and cut their hands (in amazement), and said: Holy Allāh! This is not