He said, "O my son, do not relate your vision to your brothers or they will contrive against you a plan. Indeed Satan, to man, is a manifest enemy.
And thus will your Lord choose you and teach you the interpretation of narratives and complete His favor upon you and upon the family of Jacob, as He completed it upon your fathers before, Abraham and Isaac. Indeed, your Lord is Knowing and Wise."
Certainly were there in Joseph and his brothers signs for those who ask,
When they said, "Joseph and his brother are more beloved to our father than we, while we are a clan. Indeed, our father is in clear error.
They said, "O our father, why do you not entrust us with Joseph while indeed, we are to him sincere counselors?
Send him with us tomorrow that he may eat well and play. And indeed, we will be his guardians.
[Jacob] said, "Indeed, it saddens me that you should take him, and I fear that a wolf would eat him while you are of him unaware."
They said, "If a wolf should eat him while we are a [strong] clan, indeed, we would then be losers."
So when they took him [out] and agreed to put him into the bottom of the well... But We inspired to him, "You will surely inform them about this affair of theirs while they do not perceive [your identity]."
And they came to their father at night, weeping.
And the one from Egypt who bought him said to his wife, "Make his residence comfortable. Perhaps he will benefit us, or we will adopt him as a son." And thus, We established Joseph in the land that We might teach him the interpretation of events. And God is predominant over His affair, but most of the people do not know.
[Joseph] said, "It was she who sought to seduce me." And a witness from her family testified. "If his shirt is torn from the front, then she has told the truth, and he is of the liars.
But if his shirt is torn from the back, then she has lied, and he is of the truthful."
So when her husband saw his shirt torn from the back, he said, "Indeed, it is of the woman's plan. Indeed, your plan is great.
Joseph, ignore this. And, [my wife], ask forgiveness for your sin. Indeed, you were of the sinful."
And women in the city said, "The wife of al-'Azeez is seeking to seduce her slave boy; he has impassioned her with love. Indeed, we see her [to be] in clear error."
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."
So his Lord responded to him and averted from him their plan. Indeed, He is the Hearing, the Knowing.
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 God, and they, in the Hereafter, are disbelievers.
And I have followed the religion of my fathers, Abraham, Isaac and Jacob. And it was not for us to associate anything with God. That is from the favor of God upon us and upon the people, but most of the people are not grateful.
O [my] two companions of prison, are separate lords better or God, the One, the Prevailing?
And [subsequently] the king said, "Indeed, I have seen [in a dream] seven fat cows being eaten by seven lean, and seven green spikes [of grain] and others dry. O eminent ones, explain to me my vision, if you should interpret visions."
[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.
Then will come after that a year in which the people will be given rain and in which they will press [olives and grapes]."
That is so al-'Azeez will know that I did not betray him in [his] absence and that God does not guide the plan of betrayers.
And I do not acquit myself. Indeed, the soul is a persistent enjoiner of evil, except those upon which my Lord has mercy. Indeed, my Lord is Forgiving and Merciful."
And the king said, "Bring him to me; I will appoint him exclusively for myself." And when he spoke to him, he said, "Indeed, you are today established [in position] and trusted."
[Joseph] said, "Appoint me over the storehouses of the land. Indeed, I will be a knowing guardian."
And thus We established Joseph in the land to settle therein wherever he willed. We touch with Our mercy whom We will, and We do not allow to be lost the reward of those who do good.
But if you do not bring him to me, no measure will there be [hereafter] for you from me, nor will you approach me."
So when they returned to their father, they said, "O our father, [further] measure has been denied to us, so send with us our brother [that] we will be given measure. And indeed, we will be his guardians."
[Jacob] said, "Never will I send him with you until you give me a promise by God that you will bring him [back] to me, unless you should be surrounded by enemies." And when they had given their promise, he said, "God, over what we say, is Witness."
And he said, "O my sons, do not enter from one gate but enter from different gates; and I cannot avail you against [the decree of] God at all. The decision is only for God; in Him I trust, and in Him let those who would trust [indeed] trust."
And when they entered from where their father had ordered them, it did not avail them against God at all except [it was] a need within the soul of Jacob, which he satisfied. And indeed, he was a possessor of knowledge because of what We had taught him, but most of the people do not know.
They said while approaching them, "What is it you are missing?"
They said, "We are missing the measure of the king. And for he who produces it is [the reward of] a camel's load, and I am responsible for it."
They said, "By God, you have certainly known that we did not come to cause corruption in the land, and we have not been thieves."
The accusers said, "Then what would be its recompense if you should be liars?"
They said, "If he steals - a brother of his has stolen before." But Joseph kept it within himself and did not reveal it to them. He said, "You are worse in position, and God is most knowing of what you describe."
They said, "O 'Azeez, indeed he has a father [who is] an old man, so take one of us in place of him. Indeed, we see you as a doer of good."
He said, "[I seek] the refuge of God [to prevent] that we take except him with whom we found our possession. Indeed, we would then be unjust."
So when they had despaired of him, they secluded themselves in private consultation. The eldest of them said, "Do you not know that your father has taken upon you an oath by God and [that] before you failed in [your duty to] Joseph? So I will never leave [this] land until my father permits me or God decides for me, and He is the best of judges.
Return to your father and say, "O our father, indeed your son has stolen, and we did not testify except to what we knew. And we were not witnesses of the unseen,
And ask the city in which we were and the caravan in which we came - and indeed, we are truthful,"
[Jacob] said, "Rather, your souls have enticed you to something, so patience is most fitting. Perhaps God will bring them to me all together. Indeed it is He who is the Knowing, the Wise."
And he turned away from them and said, "Oh, my sorrow over Joseph," and his eyes became white from grief, for he was [of that] a suppressor.
They said, "By God, you will not cease remembering Joseph until you become fatally ill or become of those who perish."
He said, "I only complain of my suffering and my grief to God, and I know from God that which you do not know.
O my sons, go and find out about Joseph and his brother and despair not of relief from God. Indeed, no one despairs of relief from God except the disbelieving people."
So when they entered upon Joseph, they said, "O 'Azeez, adversity has touched us and our family, and we have come with goods poor in quality, but give us full measure and be charitable to us. Indeed, God rewards the charitable."
Take this, my shirt, and cast it over the face of my father; he will become seeing. And bring me your family, all together."
And when the caravan departed [from Egypt], their father said, "Indeed, I find the smell of Joseph [and would say that he was alive] if you did not think me weakened in mind."
They said, "By God, indeed you are in your [same] old error."
And when the bearer of good tidings arrived, he cast it over his face, and he returned [once again] seeing. He said, "Did I not tell you that I know from God that which you do not know?"
They said, "O our father, ask for us forgiveness of our sins; indeed, we have been sinners."
He said, "I will ask forgiveness for you from my Lord. Indeed, it is He who is the Forgiving, the Merciful."
And when they entered upon Joseph, he took his parents to himself and said, "Enter Egypt, God willing, safe [and secure]."
My Lord, You have given me [something] of sovereignty and taught me of the interpretation of dreams. Creator of the heavens and earth, You are my protector in this world and in the Hereafter. Cause me to die in submission [to You] and join me with the righteous."
That is from the news of the unseen which We reveal to you. And you were not with them when they put together their plan while they conspired.
And most of the people, although you strive [for it], are not believers.
And you do not ask of them for it any payment. It is not except a reminder to the worlds.
And how many a sign within the heavens and earth do they pass over while they, therefrom, are turning away.
And most of them believe not in God except while they associate others with Him.
Then do they feel secure that there will not come to them an overwhelming [aspect] of the punishment of God or that the Hour will not come upon them suddenly while they do not perceive?
Say, "This is my way; I invite to God with insight, I and those who follow me. And Exalted is God; and I am not of those who associate others with Him."
And We sent not before you [as messengers] except men to whom We revealed from among the people of cities. So have they not traveled through the earth and observed how was the end of those before them? And the home of the Hereafter is best for those who fear God; then will you not reason?
[They continued] until when the messengers despaired and were certain that they had been denied, there came to them Our victory, and whoever We willed was saved. And Our punishment cannot be repelled from the people who are criminals.
There was certainly in their stories a lesson for those of understanding. Never was [the Qur'an] a narration invented, but a confirmation of what was before it and a detailed explanation of all things and guidance and mercy for a people who believe.