Abu Hurairah reported,

The Messenger of Allah ﷺ said, "I have been sent with the most concise yet comprehensive speech, and I have been aided with awe cast into the hearts of my enemies. While I was sleeping, the keys to the treasures of the earth were brought and placed in my hand."Abu Hurairah said, "The Messenger of Allah ﷺ has departed, and you are now extracting those treasures."

Azami 801

Sahih

عن أبي هريرة

أن رسول الله ﷺ قال: بعثت بجوامع الكلم، ونصرت بالرعب، فبينا أنا نائم أتيت بمفاتيح خزائن الأرض فوضعت في يدي. قال أبو هريرة: وقد ذهب رسول الله ﷺ، وأنتم تنتثلونها.

الأعظمي 801صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in the Prophet ﷺ
Section
Prophet was given the keys to the treasures of the earth
Numbering
Jami al-Kamil 801 (2nd edition)
Azami 801