The king's dream in Surah Yusuf is the turning point of the whole story. Prophet Yusuf (peace be upon him) had been in prison for "several years" when the ruler of Egypt saw a dream that frightened him. No one at court could explain it, and the one man who could was the prisoner everyone had forgotten.
The passage is short, 12:43-49, but it carries a great deal: a dream, a failed council, a late memory, an interpretation, an economic plan for a whole country, and good news that was not even in the dream. Then, in 12:50-56, it leads to Yusuf's release, his name being cleared and his appointment over the storehouses of the land.
This article answers the question directly from the Quran and from three tafsir works: Ibn Kathir, al-Sa'di (Taysir al-Karim al-Rahman) and al-Tafsir al-Muyassar. For the full story from the dream of the stars to the reunion, read the story of Prophet Yusuf.
The short answer: seven cows and seven ears of grain
The king saw seven fat cows being eaten by seven lean cows, and seven green ears of grain with others that were dry. He then asked his eminent men to explain it.
﴿وَقَالَ ٱلْمَلِكُ إِنِّىٓ أَرَىٰ سَبْعَ بَقَرَٰتٍ سِمَانٍ يَأْكُلُهُنَّ سَبْعٌ عِجَافٌ وَسَبْعَ سُنۢبُلَـٰتٍ خُضْرٍ وَأُخَرَ يَابِسَـٰتٍ ۖ يَـٰٓأَيُّهَا ٱلْمَلَأُ أَفْتُونِى فِى رُءْيَـٰىَ إِن كُنتُمْ لِلرُّءْيَا تَعْبُرُونَ ٤٣﴾(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."
Notice what the dream contains and what it does not. It has two pictures. In the first, the weak eats the strong, which is the strange part: lean cows swallowing fat ones. In the second, green, living ears of grain stand beside dry ones. The ayah does not repeat the number seven for the dry ears; it says “and others [that were] dry”
(Quran 12:43). Al-Muyassar understands them as seven dry ears as well, matching the seven green ones.
Al-Sa'di explains why this dream came at this moment: when Allah willed to bring Yusuf out of prison, He showed the king this unusual dream, whose meaning concerned the whole nation, so that its interpretation would come through Yusuf and show his knowledge and virtue. He adds that it was fitting for the king to be the one who saw it, because the affairs of the people depended on him.
Where the dream comes in the story
The dream comes after Yusuf had interpreted the dreams of his two fellow prisoners and asked the one who would be freed to mention him to the king. That man forgot.
﴿وَقَالَ لِلَّذِى ظَنَّ أَنَّهُۥ نَاجٍ مِّنْهُمَا ٱذْكُرْنِى عِندَ رَبِّكَ فَأَنسَىٰهُ ٱلشَّيْطَـٰنُ ذِكْرَ رَبِّهِۦ فَلَبِثَ فِى ٱلسِّجْنِ بِضْعَ سِنِينَ ٤٢﴾(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 he [i.e., Joseph] remained in prison several years.
So the king's dream arrives after a long, silent wait. The Quran does not say how many years passed. It only says bid' sinin, "several years," and our article on the story of Prophet Yusuf explains what the tafsir say about that phrase. What matters here is the pattern: the door Yusuf asked a person to open stayed shut, and then Allah opened it in a way no one expected, through a dream in the king's own sleep.

Why did the court call it "a mixture of false dreams"?
The king's advisers said it was “a mixture of false dreams”
(Quran 12:44) and admitted they did not know how to interpret dreams.
﴿قَالُوٓا۟ أَضْغَـٰثُ أَحْلَـٰمٍ ۖ وَمَا نَحْنُ بِتَأْوِيلِ ٱلْأَحْلَـٰمِ بِعَـٰلِمِينَ ٤٤﴾(44) They said, "[It is but] a mixture of false dreams, and we are not learned in the interpretation of dreams."
The Arabic is adghathu ahlam. Al-Muyassar explains it as a jumble of dreams that has no interpretation. Ibn Kathir explains it as "mixtures," and reads their second sentence as: even if it were a true dream and not a jumble, we would have no knowledge of how to interpret it.
Al-Sa'di is sharper. He says they combined ignorance with certainty: they did not know the meaning, yet they declared with confidence that the dream meant nothing, instead of simply saying "we do not know." He calls this something that does not befit people of religion and sound mind.
He also points to a mercy hidden in their failure. If Yusuf had interpreted the dream first, before the experts had tried and failed, it would not have made the same impression. But because the king was deeply worried, and his whole court had been unable to answer, Yusuf's interpretation landed with great weight. Al-Sa'di compares it to how Allah showed the virtue of Adam (peace be upon him) through knowledge, after the angels had been asked and did not know.
The prisoner who remembered "after a time"
Only now did the freed prisoner remember Yusuf. He offered to bring the meaning and asked to be sent to him.
﴿وَقَالَ ٱلَّذِى نَجَا مِنْهُمَا وَٱدَّكَرَ بَعْدَ أُمَّةٍ أَنَا۠ أُنَبِّئُكُم بِتَأْوِيلِهِۦ فَأَرْسِلُونِ ٤٥﴾(45) But the one who was freed and remembered after a time said, "I will inform you of its interpretation, so send me forth."
Ibn Kathir explains ba'da ummah as "after a period of time," and notes that Satan had made the man forget what Yusuf had asked of him. The meaning of the passage, he says, is: so they sent him, and he came to Yusuf.
The man's words to Yusuf are worth noticing. He did not call him a prisoner or a servant. He called him “Joseph, O man of truth”
(Quran 12:46), using the word siddiq, someone who is truthful through and through. Years in the same prison had shown him exactly who Yusuf was.
﴿يُوسُفُ أَيُّهَا ٱلصِّدِّيقُ أَفْتِنَا فِى سَبْعِ بَقَرَٰتٍ سِمَانٍ يَأْكُلُهُنَّ سَبْعٌ عِجَافٌ وَسَبْعِ سُنۢبُلَـٰتٍ خُضْرٍ وَأُخَرَ يَابِسَـٰتٍ لَّعَلِّىٓ أَرْجِعُ إِلَى ٱلنَّاسِ لَعَلَّهُمْ يَعْلَمُونَ ٤٦﴾(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 [i.e., the king and his court]; perhaps they will know [about you]."
What did Yusuf say about being forgotten for years? Nothing. Al-Sa'di notes that Yusuf did not rebuke him for forgetting. He listened to the question and answered it. Ibn Kathir's commentary in English on quran.com makes the same point: Yusuf did not blame him or set conditions before explaining.
What did the king's dream mean?
The fat cows and green ears were seven years of good harvests; the lean cows and dry ears were seven years of drought that would eat up what had been stored. Yusuf gave this meaning inside a set of instructions.
﴿قَالَ تَزْرَعُونَ سَبْعَ سِنِينَ دَأَبًا فَمَا حَصَدتُّمْ فَذَرُوهُ فِى سُنۢبُلِهِۦٓ إِلَّا قَلِيلًا مِّمَّا تَأْكُلُونَ ٤٧ ثُمَّ يَأْتِى مِنۢ بَعْدِ ذَٰلِكَ سَبْعٌ شِدَادٌ يَأْكُلْنَ مَا قَدَّمْتُمْ لَهُنَّ إِلَّا قَلِيلًا مِّمَّا تُحْصِنُونَ ٤٨﴾(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 advanced [i.e., saved] for them, except a little from which you will store.
Why do cows mean years?
Ibn Kathir explains that the cows stand for years because cows plough the land from which fruit and crops are produced, and those crops are the green ears. Al-Sa'di gives the same reason in more detail: in good years the crops grow strong, look fine and yield much, and in years of drought the opposite. Cows were the animals used to plough the land and often to water the fields, and ears of grain are among the greatest and best of foods. So the dream used the things a farming year depends on to show the years themselves.
Fat eaten by lean
The strangest image, lean cows eating fat ones, becomes the clearest part of the meaning. Ibn Kathir says the seven hard years are the lean cows that eat the fat ones: the years of drought would consume what was stored in the years of plenty. That is exactly what 12:48 says: “seven difficult [years] which will consume what you advanced [i.e., saved] for them”
(Quran 12:48).
Yusuf's plan: more than an interpretation
Yusuf did not stop at telling them what the dream meant. He told them what to do about it. Al-Sa'di says that in his answer he joined interpretation with guidance on how to prepare in the years of plenty for the years of drought.
The plan in 12:47-48 has four parts:
- Plant for seven years without a break. Da'aban means steadily, year after year. Al-Muyassar explains it as planting for seven consecutive years with effort, so that the yield is large.
- Leave the harvest in its ears. Al-Muyassar says this protects the grain from weevils and keeps it longer. Ibn Kathir adds that grain kept in the ear lasts longer and is further from spoiling.
- Eat only a little. Ibn Kathir explains: only the amount you eat, and let it be little by little, without waste, so that you benefit from it in the seven hard years.
- Keep a little back even in the hard years. The end of 12:48,
“except a little from which you will store”
(Quran 12:48), is explained by al-Muyassar as grain kept back to be seed for planting.
This is why the story is often read as a lesson in planning. In the pillar article we noted al-Sa'di's point that storing provisions in good years for a time of need does not contradict trust in Allah. Yusuf's plan is trust in Allah with the work done properly.
The year of rain: good news that was not in the dream
After the seven hard years, Yusuf said, a year would come in which the people would be given rain and would press their fruit again.
﴿ثُمَّ يَأْتِى مِنۢ بَعْدِ ذَٰلِكَ عَامٌ فِيهِ يُغَاثُ ٱلنَّاسُ وَفِيهِ يَعْصِرُونَ ٤٩﴾(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]."
Read the dream again and you will not find this year in it. There is no eighth cow and no eighth ear. Al-Sa'di addresses this directly: the year of plenty is not stated in the king's dream, and Yusuf perhaps inferred it from the fact that the hardship was limited to seven years. A drought that ran for seven years in a row could only be lifted by a very fertile year; otherwise there would be no point in the limit.
Ibn Kathir explains yughathu as "they will be given ghayth," which is rain, after which the land yields and people press what they used to press as usual, such as oil and the like. Al-Muyassar describes it as a year in which Allah lifts the hardship from them, and they press fruit from the abundance of growth.
So Yusuf's answer ends with hope. The king had asked about a frightening dream; he received a warning, a plan, and good news after the hardship.
What happened after the dream was explained?
The king asked for Yusuf to be brought to him, but Yusuf refused to leave the prison until his name was cleared.
﴿وَقَالَ ٱلْمَلِكُ ٱئْتُونِى بِهِۦ ۖ فَلَمَّا جَآءَهُ ٱلرَّسُولُ قَالَ ٱرْجِعْ إِلَىٰ رَبِّكَ فَسْـَٔلْهُ مَا بَالُ ٱلنِّسْوَةِ ٱلَّـٰتِى قَطَّعْنَ أَيْدِيَهُنَّ ۚ إِنَّ رَبِّى بِكَيْدِهِنَّ عَلِيمٌ ٥٠﴾(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."
Ibn Kathir explains that when the interpretation reached the king, he was impressed and recognised Yusuf's virtue and knowledge, and ordered him to be brought out. Yusuf declined to leave until the king and his people had confirmed his innocence of what had been said about him regarding the wife of al-'Aziz, and that his imprisonment had been an injustice, not something he deserved.
The king questioned the women, they said they knew no evil of him, and the wife of al-'Aziz confessed (12:51). Only then did the king say:
﴿وَقَالَ ٱلْمَلِكُ ٱئْتُونِى بِهِۦٓ أَسْتَخْلِصْهُ لِنَفْسِى ۖ فَلَمَّا كَلَّمَهُۥ قَالَ إِنَّكَ ٱلْيَوْمَ لَدَيْنَا مَكِينٌ أَمِينٌ ٥٤ قَالَ ٱجْعَلْنِى عَلَىٰ خَزَآئِنِ ٱلْأَرْضِ ۖ إِنِّى حَفِيظٌ عَلِيمٌ ٥٥﴾(54) 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." (55) [Joseph] said, "Appoint me over the storehouses of the land. Indeed, I will be a knowing guardian."
Why did Yusuf ask to be put over the storehouses?
Ibn Kathir says that Yusuf praised himself here, and that this is allowed when a person's abilities are unknown and there is a need. He asked for this work because he knew he was able to do it, and because of the benefit it would bring to people in the years he had warned them about. Al-Sa'di adds that this was not eagerness for authority on Yusuf's part; it was a wish for the common good, since he knew in himself a competence and trustworthiness that they did not yet know. Hafiz means he would guard what was entrusted to him; 'alim means he knew how to manage it.
The dream that began with a worried king ends with the man who explained it running the plan himself.
﴿وَكَذَٰلِكَ مَكَّنَّا لِيُوسُفَ فِى ٱلْأَرْضِ يَتَبَوَّأُ مِنْهَا حَيْثُ يَشَآءُ ۚ نُصِيبُ بِرَحْمَتِنَا مَن نَّشَآءُ ۖ وَلَا نُضِيعُ أَجْرَ ٱلْمُحْسِنِينَ ٥٦﴾(56) 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.
What the Quran does not tell us
People often search for details that the Quran leaves out. Here is what is and is not in the text.
- The king's name. The Quran does not name him. Some books of tafsir record a name from early reports, but it is not established and nothing in the lesson depends on it.
- "King" or "Pharaoh"? In Surah Yusuf the ruler is always al-malik, "the king." The Quran does not call him Pharaoh, the title it uses for the ruler in the story of Musa. Beyond that, the Quran gives no historical dating, and we do not add one.
- The date and length of each stage. The Quran does not say how many years Yusuf spent in prison, or which year the dream came. It says "several years," and that is enough.
- Extra scenes. Descriptions of the cows coming out of a dry river, or of the king's exact fear, come from reports in tafsir, not from the ayat. The Quran keeps the dream to one ayah.
The king's dream at a glance
| Part of the dream | What it meant | Ayat |
|---|---|---|
| Seven fat cows | Seven years of good harvests | 12:43, 12:47 |
| Seven lean cows eating the fat | Seven hard years consuming the stored grain | 12:43, 12:48 |
| Seven green ears | The crops of the good years | 12:43, 12:47 |
| Others that were dry | The years of drought | 12:43, 12:48 |
| (Not in the dream) | A year of rain and relief after the hardship | 12:49 |
| The result | Yusuf released, cleared and put over the storehouses | 12:50-56 |
Lessons from the king's dream
- Allah opens doors when people forget. The freed prisoner forgot Yusuf for years, and Allah brought him out through a dream in the king's sleep.
- Saying "I don't know" is better than false certainty. Al-Sa'di criticises the court for declaring the dream meaningless instead of admitting they did not know.
- Delay can be a mercy. The court's failure first made Yusuf's knowledge stand out, as al-Sa'di explains.
- Do not hold a grudge before helping. Yusuf did not rebuke the man who forgot him; he answered at once.
- Good knowledge leads to action. Yusuf turned the meaning into a plan: plant, store, eat a little, keep seed.
- Planning is part of trust in Allah. Storing in years of plenty for years of need is wisdom, not weak faith.
- Hardship has a limit. Seven hard years were followed by a year of rain; the answer ended with hope.
- A clean name matters. Yusuf chose to stay in prison until the truth was clear (12:50), as Ibn Kathir explains.
- Offer your skills when they are needed. Yusuf asked for the storehouses for the people's benefit, which al-Sa'di says was not eagerness for power.
Patience runs through all of this, and you can follow it across the other prophets in patience in the stories of the prophets.
Telling this part of the story to children
Children love the picture of thin cows eating fat ones because it is surprising. Start there, then ask what it could mean before you explain. Keep to what the Quran says: a worried king, a court that did not know, a man who finally remembered, and Yusuf's calm answer and plan. Then ask: "Why do you think Yusuf did not get angry at the man who forgot him?" Our story of Prophet Yusuf for kids tells the whole story in simple words.
Read and watch it in QASAS
QASAS is a free Quran stories app with no ads, no account and no tracking. The story of Yusuf comes in two cinematic episodes, "Yusuf's Dream" and "Yusuf in the Well," which you can watch and read page by page, with a short quiz after each. You can then open Surah Yusuf itself in the mushaf with tafsir (al-Muyassar and Ibn Kathir) and read 12:43-56 with word-by-word meaning. The app also has prayer times, the qibla and a 3D tasbih.
Watch this story in QASASYusuf's DreamEleven stars, the sun and the moon bowed to him.Open on Google Play →Frequently asked questions
What was the king's dream in Surah Yusuf?
The king saw seven fat cows being eaten by seven lean cows, and seven green ears of grain beside others that were dry (12:43). He asked his court to explain it, and they could not.
What did the seven fat cows and seven lean cows mean?
They meant seven years of good harvests followed by seven years of drought. Yusuf explained that the hard years would consume the grain stored in the good years (12:47-48). Ibn Kathir says cows stand for years because they plough the land that produces the crops.
Why did the king's advisers fail to interpret the dream?
They said it was "a mixture of false dreams" and that they did not know how to interpret dreams (12:44). Al-Sa'di says they spoke with certainty about something they did not know, and that their failure made Yusuf's knowledge stand out.
Who told the king about Yusuf?
The fellow prisoner who had been freed, the one Yusuf asked to mention him to the king. He forgot for years, then remembered "after a time" when the court could not explain the dream (12:45). The Quran does not name him.
Was the year of rain part of the king's dream?
No. The dream speaks only of seven and seven. Al-Sa'di says Yusuf probably understood from the limit of seven hard years that a very fertile year would follow and end the drought (12:49).
Why did Yusuf refuse to leave prison when the king called him?
He wanted his innocence proven first. Ibn Kathir explains that Yusuf would not come out until the king and his people knew he had been imprisoned unjustly, so he asked the king to question the women (12:50).
Was the king in Surah Yusuf a Pharaoh?
Surah Yusuf calls him only "the king" (al-malik), never Pharaoh, and does not give his name. Names found in some books come from reports that are not established.
What does "appoint me over the storehouses of the land" mean?
Yusuf asked to manage Egypt's grain stores so he could carry out the plan for the hard years (12:55). Ibn Kathir says praising one's own ability is allowed when there is a need, and al-Sa'di says he asked for the people's benefit, not out of love of power.
Sources
The Quran, Surah Yusuf 12:42-57 (Arabic text and Saheeh International translation as used in the QASAS app). Tafsir: Ibn Kathir (Tafsir al-Quran al-'Azim) on 12:44-50 and 12:55; al-Sa'di (Taysir al-Karim al-Rahman) on 12:43-49 and 12:55; al-Tafsir al-Muyassar (King Fahd Complex) on 12:43-56.
Updated: · By QASAS



