Sahih Muslim – Hadith No : 1462

Jabir b. ‘Abdullah reported that Umar b. al-Khattab had been cursing the pagans of the Quraish an the day (of the Battle) of Khandaq (Ditch). (He came to the Holy Prophet) and said: Messenger of Allah, by God, I could not say. the ‘Asr prayer till the sun set. Upon this the Messenger (may peace be upon him) said: By Allah I, too, have not observed it. So we went to a valley. The Messenger of Allah (may peace be upon him) performed ablution and we too performed ablution, and then the Messenger of Allah (may peace be upon him) said the ‘Asr prayer after the sun had set. and then said the evening prayer after it.

Hadith In Arabic Text :

وحدثني أبو غسان المسمعي، ومحمد بن المثنى، عن معاذ بن هشام، – قال أبو غسان حدثنا معاذ بن هشام، – حدثني أبي، عن يحيى بن أبي كثير، قال حدثنا أبو سلمة بن عبد الرحمن، عن جابر بن عبد الله، أن عمر بن الخطاب، يوم الخندق جعل يسب كفار قريش وقال يا رسول الله والله ما كدت أن أصلي العصر حتى كادت أن تغرب الشمس ‏.‏ فقال رسول الله صلى الله عليه وسلم ‏”‏ فوالله إن صليتها ‏”‏ ‏.‏ فنزلنا إلى بطحان فتوضأ رسول الله صلى الله عليه وسلم وتوضأنا فصلى رسول الله صلى الله عليه وسلم العصر بعد ما غربت الشمس ثم صلى بعدها المغرب ‏.‏

Chapter : The Book of Mosques and Places of Prayer – كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ