Sahih al-Bukhari · 945 Fear Prayer

Chapter

باب الصلاة عند مناهضة الحصون ولقاء العدو

جَاءَ عُمَرُ يَوْمَ الْخَنْدَقِ، فَجَعَلَ يَسُبُّ كُفَّارَ قُرَيْشٍ وَيَقُولُ يَا رَسُولَ اللَّهِ مَا صَلَّيْتُ الْعَصْرَ حَتَّى كَادَتِ الشَّمْسُ أَنْ تَغِيبَ‏.‏ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏ "‏ وَأَنَا وَاللَّهِ مَا صَلَّيْتُهَا بَعْدُ ‏"‏‏.‏ قَالَ فَنَزَلَ إِلَى بُطْحَانَ فَتَوَضَّأَ، وَصَلَّى الْعَصْرَ بَعْدَ مَا غَابَتِ الشَّمْسُ، ثُمَّ صَلَّى الْمَغْرِبَ بَعْدَهَا

Read on sunnah.com

AI translation, not yet reviewed

Prayer when attacking fortifications and meeting the enemy

Jabir ibn ʿAbd Allah said: ʿUmar came on the day of the Trench and began cursing the disbelievers of Quraysh, saying, “Messenger of Allah, I did not pray ʿAsr until the sun was nearly setting.” The Prophet ﷺ said, “By Allah, I have not prayed it yet either.” He [Jabir] said: He went down to Buthan, performed ablution, and prayed ʿAsr after the sun had set; then he prayed Maghrib after it.

Rests on Fath al-Bari, vol. 2, p. 436