كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ
5  
The Book of Mosques and Places of Prayer
Sahih Muslim 523 f

Hammam b. Munabbih reported:

That is what Abu Huraira reported to us from the Messenger of Allah (ﷺ) and he narrated (some) ahadith one of which is that the Messenger of Allah (ﷺ) said: I have been helped by terror (in the hearts of enemies) and I have been given words which are concise but comprehensive in meaning.
حَدَّثَنَا مُحَمَّدُ بْنُ رَافِعٍ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، حَدَّثَنَا مَعْمَرٌ، عَنْ هَمَّامِ بْنِ مُنَبِّهٍ، قَالَ هَذَا مَا حَدَّثَنَا أَبُو هُرَيْرَةَ، عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم فَذَكَرَ أَحَادِيثَ مِنْهَا وَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ نُصِرْتُ بِالرُّعْبِ وَأُوتِيتُ جَوَامِعَ الْكَلِمِ ‏"‏ ‏.‏
Reference : Sahih Muslim 523f
In-book reference : Book 5, Hadith 12
USC-MSA web (English) reference : Book 4, Hadith 1067
  (deprecated numbering scheme)