Language:
كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(4)
Chapter: The Statement of Allah تعالى: "(Remember) when you sought help of your Lord and He answered you (saying: 'I will help you with a thousand of the angels each behind the other (following one another) in succession.' Allah made it only as glad tidings, and that your hearts be at rest therewith. And there is no victory except from Allah. Verily, Allah is All-Mighty, All-Wise. (Remember) when He covered you with a slumber as a security from Him, and He caused water (rain) to descend on you from the sky, to clean you thereby and to remove from you the Rijz (whispering, evil-suggestions) of Shaitan (Satan), and to strengthen your hearts, and make your feet firm thereby. (Remember) when your Lord revealed to the angels, 'Verily, I am with you, so keep firm those who have believed. I will cast terror into the hearts of those who have disbelieved, so strike them over the necks, and smite over all their fingers and toes.' This is because they defied and disobeyed Allah and His Messenger. And whoever defies and disobeys Allah and His Messenger, then verily, Allah is Severe in punishment." (V.8:9-13)
(4)
باب قَوْلِ اللَّهِ تَعَالَى {إِذْ تَسْتَغِيثُونَ رَبَّكُمْ فَاسْتَجَابَ لَكُمْ أَنِّي مُمِدُّكُمْ بِأَلْفٍ مِنْ الْمَلَائِكَةِ مُرْدِفِينَ وَمَا جَعَلَهُ اللَّهُ إِلاَّ بُشْرَى وَلِتَطْمَئِنَّ بِهِ قُلُوبُكُمْ وَمَا النَّصْرُ إِلاَّ مِنْ عِنْدِ اللَّهِ إِنَّ اللَّهَ عَزِيزٌ حَكِيمٌ إِذْ يُغَشِّيكُمُ النُّعَاسَ أَمَنَةً مِنْهُ وَيُنَزِّلُ عَلَيْكُمْ مِنَ السَّمَاءِ مَاءً لِيُطَهِّرَكُمْ بِهِ وَيُذْهِبَ عَنْكُمْ رِجْزَ الشَّيْطَانِ وَلِيَرْبِطَ عَلَى قُلُوبِكُمْ وَيُثَبِّتَ بِهِ الأَقْدَامَ إِذْ يُوحِي رَبُّكَ إِلَى الْمَلاَئِكَةِ أَنِّي مَعَكُمْ فَثَبِّتُوا الَّذِينَ آمَنُوا سَأُلْقِي فِي قُلُوبِ الَّذِينَ كَفَرُوا الرُّعْبَ فَاضْرِبُوا فَوْقَ الأَعْنَاقِ وَاضْرِبُوا مِنْهُمْ كُلَّ بَنَانٍ ذَلِكَ بِأَنَّهُمْ شَاقُّوا اللَّهَ وَرَسُولَهُ وَمَنْ يُشَاقِقِ اللَّهَ وَرَسُولَهُ فَإِنَّ اللَّهَ شَدِيدُ الْعِقَابِ}
Sahih al-Bukhari 3952

Narrated Ibn Masud:

I witnessed Al-Miqdad bin Al-Aswad in a scene which would have been dearer to me than anything had I been the hero of that scene. He (i.e. Al-Miqdad) came to the Prophet (ﷺ) while the Prophet (ﷺ) was urging the Muslims to fight with the pagans. Al-Miqdad said, "We will not say as the People of Moses said: Go you and your Lord and fight you two. (5.27). But we shall fight on your right and on your left and in front of you and behind you." I saw the face of the Prophet (ﷺ) getting bright with happiness, for that saying delighted him.

حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا إِسْرَائِيلُ، عَنْ مُخَارِقٍ، عَنْ طَارِقِ بْنِ شِهَابٍ، قَالَ سَمِعْتُ ابْنَ مَسْعُودٍ، يَقُولُ شَهِدْتُ مِنَ الْمِقْدَادِ بْنِ الأَسْوَدِ مَشْهَدًا، لأَنْ أَكُونَ صَاحِبَهُ أَحَبُّ إِلَىَّ مِمَّا عُدِلَ بِهِ، أَتَى النَّبِيَّ صلى الله عليه وسلم وَهْوَ يَدْعُو عَلَى الْمُشْرِكِينَ فَقَالَ لاَ نَقُولُ كَمَا قَالَ قَوْمُ مُوسَى ‏{‏اذْهَبْ أَنْتَ وَرَبُّكَ فَقَاتِلاَ‏}‏ وَلَكِنَّا نُقَاتِلُ عَنْ يَمِينِكَ وَعَنْ شِمَالِكَ وَبَيْنَ يَدَيْكَ وَخَلْفَكَ‏.‏ فَرَأَيْتُ النَّبِيَّ صلى الله عليه وسلم أَشْرَقَ وَجْهُهُ وَسَرَّهُ‏.‏ يَعْنِي قَوْلَهُ‏.‏
Reference : Sahih al-Bukhari 3952
In-book reference : Book 64, Hadith 4
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 288
  (deprecated numbering scheme)