(36) باب مَنْ صَلَّى بِالنَّاسِ جَمَاعَةً بَعْدَ ذَهَابِ الْوَقْتِ
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 Messenger (ﷺ) 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.
Reference: Sahih al-Bukhari 596
In-book reference: Book 9, Hadith 72
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 10, Hadith 570