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."
أن رسول الله ﷺ قال: بعثت بجوامع الكلم، ونصرت بالرعب، فبينا أنا نائم أتيت بمفاتيح خزائن الأرض فوضعت في يدي. قال أبو هريرة: وقد ذهب رسول الله ﷺ، وأنتم تنتثلونها.
Bukhari narrated it in the Book of Jihad (2977), and Muslim in the Book of Mosques (523), both through chains from Ibn Shihab, from Saeed bin Musayab, from Abu Hurairah, who mentioned it.