Abu Hurairah reported,

The Messenger of Allah ﷺ said, "I have been sent with concise yet comprehensive speech, and I have been granted victory through awe. 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 them."

Bukhari 2977

Sahih

حدثنا يحيى بن بكير حدثنا الليث عن عقيل عن ابن شهاب عن سعيد بن المسيب

عن أبي هريرة رضي الله عنه

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

البخاري 2977صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Prophet ﷺ saying, "I have been given victory through fear at a distance of one month's journey"
Numbering
Darussalam 2977
Bukhari 2977