كتاب الجهاد
11  
The Book of Jihad
(234)
Chapter: Obligation of Jihad
(234)
- باب وجوب الجهاد وفضل الغدوة والروحة
Riyad as-Salihin 1324
'Abdullah bin Abu Aufa (May Allah be pleased with them) reported:
On one occasion the Messenger of Allah (ﷺ) was confronting the enemy. He waited until the sun had declined. Then he stood up to address the people and said, "O people! Do not wish for an encounter with the enemy. Pray to Allah to grant you safety; (but) when you encounter them, show patience, and know that Jannah is under the shades of the swords." Then he (ﷺ) said: "Allahumma munzilal-kitab, wa mujriyas- sahab, wa hazimal-Ahzab, ihzimhum wansurna alaihim (O Allah, Revealer of the Book, Disperser of the clouds, Defeater of the Confederates, put our enemy to rout and support us against them)."

[Al- Bukhari and Muslim].

وعن عبد الله بن أبي أوفى رضي الله عنهما أن رسول الله صلى الله عليه وسلم في بعض أيامه التي لقي فيها العدو انتظر حتى مالت الشمس، ثم قام في الناس فقال‏:‏ ‏"‏ أيها الناس، لا تتمنوا لقاء العدو، وسلو الله العافية، فإذا لقيتموه فاصبروا، واعلموا أن الجنة تحت ظلال السيوف‏"‏ ثم قال‏:‏ ‏"‏اللهم منزل الكتاب ومجري السحاب، وهازم الأحزاب اهزمهم وانصرنا عليهم‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏
Reference : Riyad as-Salihin 1324
In-book reference : Book 11, Hadith 40