Language:
كتاب التعبير
91  
Interpretation of Dreams
(22)
Chapter: The seeing of keys in one’s hand
(22)
باب الْمَفَاتِيحِ فِي الْيَدِ
Sahih al-Bukhari 7013

Narrated Abu Huraira:

I heard Allah's Messenger (ﷺ) saying, "I have been sent with Jawami al-Kalim (i.e., the shortest expression carrying the widest meanings), and I was made victorious with awe (cast into the hearts of the enemy), and while I was sleeping, the keys of the treasures of the earth were brought to me and were put in my hand." Muhammad said, Jawami'-al-Kalim means that Allah expresses in one or two statements or thereabouts the numerous matters that used to be written in the books revealed before (the coming of) the Prophet.

حَدَّثَنَا سَعِيدُ بْنُ عُفَيْرٍ، حَدَّثَنَا اللَّيْثُ، حَدَّثَنِي عُقَيْلٌ، عَنِ ابْنِ شِهَابٍ، أَخْبَرَنِي سَعِيدُ بْنُ الْمُسَيَّبِ، أَنَّ أَبَا هُرَيْرَةَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏ "‏ بُعِثْتُ بِجَوَامِعِ الْكَلِمِ، وَنُصِرْتُ بِالرُّعْبِ، وَبَيْنَا أَنَا نَائِمٌ أُتِيتُ بِمَفَاتِيحِ خَزَائِنِ الأَرْضِ، فَوُضِعَتْ فِي يَدِي ‏"‏‏.‏ قَالَ مُحَمَّدٌ وَبَلَغَنِي أَنَّ جَوَامِعَ الْكَلِمِ أَنَّ اللَّهَ يَجْمَعُ الأُمُورَ الْكَثِيرَةَ الَّتِي كَانَتْ تُكْتَبُ فِي الْكُتُبِ قَبْلَهُ فِي الأَمْرِ الْوَاحِدِ وَالأَمْرَيْنِ‏.‏ أَوْ نَحْوَ ذَلِكَ‏.‏
Reference : Sahih al-Bukhari 7013
In-book reference : Book 91, Hadith 31
USC-MSA web (English) reference : Vol. 9, Book 87, Hadith 141
  (deprecated numbering scheme)