(122) بَابُ قَوْلِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «نُصِرْتُ بِالرُّعْبِ مَسِيرَةَ شَهْرٍ»
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "I have been sent with the shortest expressions bearing the widest meanings, and I have been made victorious with terror (cast in the hearts of the enemy), and while I was sleeping, the keys of the treasures of the world were brought to me and put in my hand." Abu Huraira added: Allah's Messenger (ﷺ) has left the world and now you, people, are bringing out those treasures (i.e. the Prophet did not benefit by them).
Reference: Sahih al-Bukhari 2977
In-book reference: Book 56, Hadith 186
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 4, Book 52, Hadith 220