The recitation of poetic verses in the war
باب الرَّجَزِ فِي الْحَرْبِ وَرَفْعِ الصَّوْتِ فِي حَفْرِ الْخَنْدَقِ
Sahih al-Bukhari, Book of Fighting for the Cause of Allah (Jihaad)(view book)
Sahih al-Bukhari 3034
Narrated Al-Bara:
I saw Allah's Apostle 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).
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا أَبُو الأَحْوَصِ، حَدَّثَنَا أَبُو إِسْحَاقَ، عَنِ الْبَرَاءِ ـ رضى الله عنه ـ قَالَ رَأَيْتُ النَّبِيَّ ﷺ يَوْمَ الْخَنْدَقِ وَهُوَ يَنْقُلُ التُّرَابَ حَتَّى وَارَى التُّرَابُ شَعَرَ صَدْرِهِ، وَكَانَ رَجُلاً كَثِيرَ الشَّعَرِ وَهْوَ يَرْتَجِزُ بِرَجَزِ عَبْدِ اللَّهِ اللَّهُمَّ لَوْلاَ أَنْتَ مَا اهْتَدَيْنَا وَلاَ تَصَدَّقْنَا وَلاَ صَلَّيْنَا فَأَنْزِلَنْ سَكِينَةً عَلَيْنَا وَثَبِّتِ الأَقْدَامَ إِنْ لاَقَيْنَا إِنَّ الأَعْدَاءَ قَدْ بَغَوْا عَلَيْنَا إِذَا أَرَادُوا فِتْنَةً أَبَيْنَا يَرْفَعُ بِهَا صَوْتَهُ.