Language:
كتاب الجهاد والسير
56  
Fighting for the Cause of Allah (Jihaad)
(161)
Chapter: The recitation of poetic verses in the war
(161)
باب الرَّجَزِ فِي الْحَرْبِ وَرَفْعِ الصَّوْتِ فِي حَفْرِ الْخَنْدَقِ
Sahih al-Bukhari 3034

Narrated Al-Bara:

I saw Allah's Messenger (ﷺ) on the day (of the battle) of the Trench carrying earth till the hair of his chest were covered with dust and he was a hairy man. He was reciting the following verses of `Abdullah (bin Rawaha): "O Allah, were it not for You, We would not have been guided, Nor would we have given in charity, nor prayed. So, bestow on us calmness, and when we meet the enemy. Then make our feet firm, for indeed, Yet if they want to put us in affliction, (i.e. want to fight against us) we would not (flee but withstand them)." The Prophet (ﷺ) used to raise his voice while reciting these verses. (See Hadith No. 432, Vol. 5).

حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا أَبُو الأَحْوَصِ، حَدَّثَنَا أَبُو إِسْحَاقَ، عَنِ الْبَرَاءِ ـ رضى الله عنه ـ قَالَ رَأَيْتُ النَّبِيَّ صلى الله عليه وسلم يَوْمَ الْخَنْدَقِ وَهُوَ يَنْقُلُ التُّرَابَ حَتَّى وَارَى التُّرَابُ شَعَرَ صَدْرِهِ، وَكَانَ رَجُلاً كَثِيرَ الشَّعَرِ وَهْوَ يَرْتَجِزُ بِرَجَزِ عَبْدِ اللَّهِ اللَّهُمَّ لَوْلاَ أَنْتَ مَا اهْتَدَيْنَا وَلاَ تَصَدَّقْنَا وَلاَ صَلَّيْنَا فَأَنْزِلَنْ سَكِينَةً عَلَيْنَا وَثَبِّتِ الأَقْدَامَ إِنْ لاَقَيْنَا إِنَّ الأَعْدَاءَ قَدْ بَغَوْا عَلَيْنَا إِذَا أَرَادُوا فِتْنَةً أَبَيْنَا يَرْفَعُ بِهَا صَوْتَهُ‏.‏
Reference : Sahih al-Bukhari 3034
In-book reference : Book 56, Hadith 241
USC-MSA web (English) reference : Vol. 4, Book 52, Hadith 272
  (deprecated numbering scheme)