( 31 ) So when she heard of their scheming, she sent for them and prepared for them a banquet and gave each one of them a knife and said [to Joseph], “Come out before them.” And when they saw him, they greatly admired him and cut their hands and said, “Perfect is Allah! This is not a man; this is none but a noble angel.”
( 32 ) She said, “That is the one about whom you blamed me. And I certainly sought to seduce him, but he firmly refused; and if he will not do what I order him, he will surely be imprisoned and will be of those debased.”
( 33 ) He said, “My Lord, prison is more to my liking than that to which they invite me. And if You do not avert from me their plan, I might incline toward them and [thus] be of the ignorant.”
( 34 ) So his Lord responded to him and averted from him their plan. Indeed, He is the Hearing, the Knowing.
( 35 ) Then it appeared to them after they had seen the signs that al-‘Azeez should surely imprison him for a time.
( 36 ) And there entered the prison with him two young men. One of them said, “Indeed, I have seen myself [in a dream] pressing wine.” The other said, “Indeed, I have seen myself carrying upon my head [some] bread, from which the birds were eating. Inform us of its interpretation; indeed, we see you to be of those who do good.”
( 37 ) He said, “You will not receive food that is provided to you except that I will inform you of its interpretation before it comes to you. That is from what my Lord has taught me. Indeed, I have left the religion of a people who do not believe in Allah, and they, in the Hereafter, are disbelievers.
( 38 ) And I have followed the religion of my fathers, Abraham, Isaac and Jacob. And it was not for us to associate anything with Allah. That is from the favor of Allah upon us and upon the people, but most of the people are not grateful.
( 39 ) O [my] two companions of prison, are separate lords better or Allah, the One, the Prevailing?
( 40 ) You worship not besides Him except [mere] names you have named them, you and your fathers, for which Allah has sent down no authority. Legislation is not but for Allah. He has commanded that you worship not except Him. That is the correct religion, but most of the people do not know.
( 41 ) O two companions of prison, as for one of you, he will give drink to his master of wine; but as for the other, he will be crucified, and the birds will eat from his head. The matter has been decreed about which you both inquire.”
( 42 ) And he said to the one whom he knew would go free, “Mention me before your master.” But Satan made him forget the mention [to] his master, and Joseph remained in prison several years.
( 43 ) And [subsequently] the king said, “Indeed, I have seen [in a dream] seven fat cows being eaten by seven [that were] lean, and seven green spikes [of grain] and others [that were] dry. O eminent ones, explain to me my vision, if you should interpret visions.”
( 44 ) They said, “[It is but] a mixture of false dreams, and we are not learned in the interpretation of dreams.”
( 45 ) But the one who was freed and remembered after a time said, “I will inform you of its interpretation, so send me forth.”
( 46 ) [He said], “Joseph, O man of truth, explain to us about seven fat cows eaten by seven [that were] lean, and seven green spikes [of grain] and others [that were] dry – that I may return to the people; perhaps they will know [about you].”
( 47 ) [Joseph] said, “You will plant for seven years consecutively; and what you harvest leave in its spikes, except a little from which you will eat.
( 48 ) Then will come after that seven difficult [years] which will consume what you saved for them, except a little from which you will store.
( 49 ) Then will come after that a year in which the people will be given rain and in which they will press [olives and grapes].”
( 50 ) And the king said, “Bring him to me.” But when the messenger came to him, [Joseph] said, “Return to your master and ask him what is the case of the women who cut their hands. Indeed, my Lord is Knowing of their plan.”
( 51 ) Said [the king to the women], “What was your condition when you sought to seduce Joseph?” They said, “Perfect is Allah! We know about him no evil.” The wife of al-‘Azeez said, “Now the truth has become evident. It was I who sought to seduce him, and indeed, he is of the truthful.
( 52 ) That is so al-‘Azeez will know that I did not betray him in [his] absence and that Allah does not guide the plan of betrayers.