Messenger of Allah, by God, I could not say. the 'Asr prayer till the sun set. Upon this the Messenger ﷺ said: By Allah I, too, have not observed it. So we went to a valley. The Messenger of Allah ﷺ performed ablution and we too performed ablution, and then the Messenger of Allah ﷺ said the 'Asr prayer after the sun had set. and then said the evening prayer after it.
وَقَالَ يَا رَسُولَ اللَّهِ وَاللَّهِ مَا كِدْتُ أَنْ أُصَلِّيَ الْعَصْرَ حَتَّى كَادَتْ أَنْ تَغْرُبَ الشَّمْسُ فَقَالَ رَسُولُ اللَّهِ ﷺ فَوَاللَّهِ إِنْ صَلَّيْتُهَا فَنَزَلْنَا إِلَى بُطْحَانَ فَتَوَضَّأَ رَسُولُ اللَّهِ ﷺ وَتَوَضَّأْنَا فَصَلَّى رَسُولُ اللَّهِ ﷺ الْعَصْرَ بَعْدَ مَا غَرَبَتِ الشَّمْسُ ثُمَّ صَلَّى بَعْدَهَا الْمَغْرِبَ