Sahih al-Bukhari 7273
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
بُعِثْتُ بِجَوَامِعِ الْكَلِمِ، وَنُصِرْتُ بِالرُّعْبِ، وَبَيْنَا أَنَا نَائِمٌ رَأَيْتُنِي أُتِيتُ بِمَفَاتِيحِ خَزَائِنِ الأَرْضِ، فَوُضِعَتْ فِي يَدِي "
Narrated Sa`id bin Al-Musaiyab:
Abu Huraira said that Allah's Messenger (ﷺ) said, "I have been sent with 'Jawami-al-Kalim ' (the shortest expression with the widest meaning) and have been made victorious with awe (cast in my enemy's hearts), and while I was sleeping, I saw that the keys of the treasures of the world were placed in my hand." Abu Huraira added: Allah's Messenger (ﷺ) has gone, and you people are utilizing those treasures, or digging those treasures out." or said a similar sentence.
Full reference and source
Sahih al-Bukhari 7273 In-book : Book 96, Hadith 6 USC-MSA web (English) : Vol. 9, Book 92, Hadith 378 (deprecated)
View source on Sunnah.com (opens in a new tab)