The Qur’an touches on dreams and its interpretations, some even come in the form of narrations of instances for example the story of Prophet Yusuf.
The king (of Egypt) said: “I do see (in a vision) seven fat kine, whom seven lean ones devour, and seven green ears of corn, and seven (others) withered. O ye chiefs! Expound to me my vision if it be that ye can interpret visions.” (Surah Yusuf, 43)
But the man who had been released, one of the two (who had been in prison) and who now bethought him after (so long) a space of time, said: “I will tell you the truth of its interpretation: send ye me (therefore).” (Surah Yusuf, 45)
They said: “A confused medley of dreams: and we are not skilled in the interpretation of dreams.” (Surah Yusuf, 44)
Now with him there came into the prison two young men. Said one of them: “I see myself (in a dream) pressing wine.” said the other: “I see myself (in a dream) carrying bread on my head, and birds are eating, thereof.” “Tell us” (they said) “The truth and meaning thereof: for we see thou art one that doth good (to all).” (Surah Yusuf, 36)
And he raised his parents high on the throne (of dignity), and they fell down in prostration, (all) before him. He said: “O my father! This is the fulfilment of my vision of old! Allah hath made it come true! He was indeed good to me when He took me out of prison and brought you (all here) out of the desert, (even) after Satan had sown enmity between me and my brothers. Verily my Lord understandeth best the mysteries of all that He planneth to do, for verily He is full of knowledge and wisdom. (Surah Yusuf, 100)
“O my Lord! Thou hast indeed bestowed on me some power, and taught me something of the interpretation of dreams and events,- O Thou Creator of the heavens and the earth! Thou art my Protector in this world and in the Hereafter. Take Thou my soul (at death) as one submitting to Thy will (as a Muslim), and unite me with the righteous.” (Surah Yusuf, 101)
“Thus will thy Lord choose thee and teach thee the interpretation of stories (and events) and perfect His favour to thee and to the posterity of Jacob – even as He perfected it to thy fathers Abraham and Isaac aforetime! For Allah is full of knowledge and wisdom.” (Surah Yusuf, 6)