Objects & Clothing
A treasure in a dream
The short answer
The Prophet saw keys to the earth's treasures in sleep, and the Qur'an shows treasure as a kept mercy, a temptation and a hoard. The dictionaries read finding one as unlooked-for provision, which is their convention.
Traditional interpretations, not a fatwa and not a prediction. How we source.
In this article
In the best-known report of a treasure in the Prophet's sleep, what he received was keys, not gold. While he slept, the keys of the treasures of the earth were brought to him and put in his hand (Bukhari 7013). In that report he gives no reading of it. Abu Huraira, who passed it on, adds a line of his own after the Prophet's death: you people are now carrying those treasures from place to place (Bukhari 6998).
So the best-attested treasure dream in the Sunnah is already half history, and its meaning is a Companion's remark and not a gloss from the Prophet. We keep that distinction in view, because the dictionary readings further down are far less certain.
Keys, bangles and what he chose to explain
The treasures reach the Prophet in sleep in two forms, and in neither does he explain the treasure. In the first, the keys are put in his hand (Bukhari 7013). In the second he is given the treasures of the earth and two gold bangles are put in his hands. He disliked them, was inspired to blow on them, and they vanished. That he interpreted as the two liars between whom he stood, the ruler of Sana and the ruler of Yamama (Bukhari 4375, also Muslim 2274b).
What he chose to explain was the bangles. In that report the treasures are the setting and the bangles are the thing he reads. A waking saying fills out the picture. Allah drew the ends of the earth near him, and he saw them; the dominion of his community would reach as far, and he was granted the red and the white treasure (Muslim 2889a). The full account of the keys has its own page, the keys of the earth's treasures, and the 2 gold bracelets has the other.
One Arabic root, three moods
The Qur'an uses the same root, كنز, for three treasures that could hardly feel more different. The first is a mercy kept in the ground. In the story of Musa and his teacher, a wall that was repaired had a treasure beneath it belonging to two orphan boys, whose father had been righteous, and Allah intended that they reach maturity and extract it, "as a mercy from your Lord" (Qur'an 18:82). The verse closes by calling the explanation of the whole episode تأويل, the word Yusuf uses for the meaning of his boyhood vision (Qur'an 12:100), though here it explains events and not a dream.
The second is a temptation. Qarun was given treasures whose keys would burden a band of strong men, and when his people told him not to exult he said he had been given it by his own knowledge. The earth swallowed him, and those who had wished for his place the day before began to say that Allah expands provision for whom He wills and restricts it (Qur'an 28:76-82). The third is a hoard. Those who hoard gold and silver and do not spend it in Allah's way are given tidings of a painful punishment (Qur'an 9:34), and on that Day it will be said to them: this is what you hoarded for yourselves (Qur'an 9:35).
The Sunnah carries the same split. On the Day of Resurrection, wealth whose zakat was withheld is made into a snake that says "I am your treasure" (Bukhari 1403). Yet the Prophet ﷺ also told a Companion that لا حول ولا قوة إلا بالله is one of the treasures of Paradise (Bukhari 6384), so the best treasure he names is a sentence.
What the lists make of a find
Popular dictionary lists read a found or buried treasure as provision that was not looked for, or as knowledge, and add that a treasure which arrives with fear or deceit is a caution. That follows from how treasure appears in the texts, though no text takes the step into dreams. Reading the Sunnah's waking rulings alongside, we would add a point of our own: a find comes with a duty. A fifth is due on ركاز, which the jurists take to mean buried treasure (Bukhari 1499), and the Prophet ﷺ said that the Euphrates would one day uncover a treasure of gold, and that whoever finds it should take nothing from it (Muslim 2894c).
| In the dream | How it is usually read | What it rests on |
|---|---|---|
| Finding a treasure unexpectedly | Provision or knowledge not looked for | Dictionary tradition; compare the orphans' treasure as a mercy (Qur'an 18:82) |
| Being handed keys to treasures | A great opening or trust placed in your hands | The Prophet's dream (Bukhari 7013); the Prophet gave no reading, only Abu Huraira's remark in Bukhari 6998 |
| A treasure under a wall or in the floor of a house | Something that is yours and is waiting for its time | Our analogy with Qur'an 18:82; no direct text |
| Heaps of gold and silver with no use for them | A test of wealth, or a hoard | Qur'an 9:34-35 and Qur'an 28:76-82, by analogy |
| Being warned off, or not allowed to take it | Caution about a gain | Muslim 2894c, a waking saying, by analogy |
A treasure dream is easy to over-read, because money is a worry nobody lacks. Before reaching for the table, ask what kind of dream it was: a found fortune after a week of bills may simply be the mind at work, which is the Sunnah's third kind. For the near images, see gold and money.
Common questions
Is finding treasure in a dream a good sign?
The dictionaries lean that way and read it as unlooked-for provision or hidden knowledge, but the texts show treasure with three moods. It is a mercy kept for orphans (Qur'an 18:82), a temptation for Qarun (Qur'an 28:76-82), and a hoard that earns a warning (Qur'an 9:34). So the reading depends on what is done with it in the dream. We would call it open, not good.
What did the Prophet's dream of the treasures of the earth mean?
He did not explain the treasures in the reports we have. In one he was given keys to them (Bukhari 7013), and in another the treasures with two gold bangles, which he explained as two liars (Bukhari 4375). Abu Huraira's own comment on the keys is that the community was now carrying those treasures from place to place (Bukhari 6998). That is a Companion's remark, not the Prophet's reading.
Does digging up a treasure in a dream mean I will get rich?
No text says so, and we do not read dreams as forecasts. Lists read a find as provision, but the Sunnah's own treasure sayings are about duty. A fifth is due on a buried find (Bukhari 1499), and wealth that goes without its zakat is warned of in strong terms (Bukhari 1403). A dream treasure is more a question of what you would do with it.
Reviewed 5 October 2026 by The Editorial Team. We cite our sources and fix mistakes openly: see our editorial standards, or report a correction.