On the Day of Al-Khandaq, after the sun had set, Umar bin Al-Khattab started cursing the disbelievers of the Quraish and said: "O Messenger of Allah, I was hardly able to pray until the sun set." The Messenger of Allah ﷺ said: "By Allah, I did not pray." So we went down with the Messenger of Allah ﷺ to Buthan. He performed wudu' for prayer and so did we, and he prayed 'Asr after the sun had set, then he prayed Maghrib after that."
وَقَالَ يَا رَسُولَ اللَّهِ مَا كِدْتُ أَنْ أُصَلِّيَ حَتَّى كَادَتِ الشَّمْسُ تَغْرُبُ فَقَالَ رَسُولُ اللَّهِ ﷺ فَوَاللَّهِ مَا صَلَّيْتُهَا فَنَزَلْنَا مَعَ رَسُولِ اللَّهِ ﷺ إِلَى بُطْحَانَ فَتَوَضَّأَ لِلصَّلاَةِ وَتَوَضَّأْنَا لَهَا فَصَلَّى الْعَصْرَ بَعْدَ مَا غَرَبَتِ الشَّمْسُ ثُمَّ صَلَّى بَعْدَهَا الْمَغْرِبَ