Almighty Allah narrated this incident thus: And the king (of Egypt) said: "Verily, I saw (in a dream) seven fat cows, whom seven lean cows were devouring - and (seven) green ears of corn, and seven others dry. 0 notables! Explain to me my dream, if it be that you can interpret dreams."
They said: 'Mixed up false dreams and we are not skilled in the interpretation of dreams."
Then the man who was released (one of the two who were in prison), now at length remembered and said: "I will tell you its interpretation, so send me forth."
(He said): "0 Joseph, the man of truth! Explain to us (the dream) of seven fat cows whom seven lean ones were devouring, and of seven green ears of corn, and (seven) others dry, that I may return to the people, and that they may know." (Joseph) said: "For seven consecutive years, you shall sow as usual and that (the harvest) which you reap you shall leave in ears, (all) - except a little of it which you may eat. Then will come after that seven hard (years), which will devour what you have laid by in advance for them, (all) except a little of that which you have guarded (stored). Then thereafter will come a year in which people will have abundant rain and in which they will press (wine and oil)." Surah 12: 43-49