(a) It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that we were with the Messenger of Allah (peace and blessings be upon him), lined up facing the enemy. The enemy kept the Messenger of Allah (peace and blessings be upon him) occupied from the Zuhr, Asr, Maghrib and Isha prayers until it was midnight. Then the Messenger of Allah (peace and blessings be upon him) stood up, began with Zuhr, then Asr, Maghrib and Isha, and offered all the prayers in order.
(b) Al-Walid bin Muslim added, through Abu Amr al-Awza'i, that he offered them one after another, each with its own iqamah; this has been mentioned before.
(c) This hadith was narrated to us through Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) from the Prophet (peace and blessings be upon him) in the matter of the adhan.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3188