Abu Hurairah reported,

The Messenger of Allah ﷺ said, "I have been granted victory through fear cast into the hearts of the enemy, and I have been given the gift of concise yet comprehensive speech. While I was sleeping, the keys to the treasures of the earth were brought and placed in my hand."

Muslim 1171

Sahih

و حدثني أبو الطاهر أخبرنا ابن وهب عن عمرو بن الحارث عن أبي يونس مولى أبي هريرة أنه حدثه

عن أبي هريرة

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

مسلم 1171صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Mosques and places of prayer
Chapter
Mosques and places of prayer
Numbering
Darussalam 1171
Muslim 1171