Narrated Jabir bin ‘Abdullah:
On the day of Al-Khandaq (the battle of trench.) ‘Umar bin Al-Khattab came cursing the disbelievers of Quraish after the sun had set and said, “O Allah’s Apostle I could not offer the ‘Asr prayer till the sun had set.” The Prophet said, “By Allah! I, too, have not prayed.” So we turned towards Buthan, and the Prophet performed ablution and we too performed ablution and offered the ‘Asr prayer after the sun had set, and then he offered the Maghrib prayer.
- The ayaat of Salaat-ul-Khawf (Prayer of Fear/Danger) hadn’t been revealed yet.
- It was an exceptional situation: war.
- In case a prayer gets delayed and the time for next prayer enters, pray the delayed prayer first and then the next one, as the sequence described in the Hadith.