We were kept from praying Dhuhr, Asr, Maghrib, and Isha on the day of the Trench, until we were spared that fighting. This is what Allah Most High referred to when He said, "And Allah turned back those who disbelieved in their rage, having gained no good, and Allah spared the believers the fighting, and Allah is ever Strong and Mighty" [Ahzab 33:25].Then the Messenger of Allah ﷺ stood up and ordered Bilal, who called the iqamah for the prayer. He prayed Dhuhr just as he used to pray it before that. Then Bilal called the iqamah for Asr, and he prayed Asr just as he used to pray it before that. Then he called the iqamah for Maghrib, and he prayed Maghrib just as he used to pray it before that. Then he called the iqamah for Isha, and he prayed it just as he used to pray it before that. This was before the revelation of "But if you are in fear, then on foot or riding" [Baqarah 2:239].
حبسنا يوم الخندق عن الظهر والعصر والمغرب والعشاء، حتى كفينا ذلك، وذلك قوله تعالى: {ورد الله الذين كفروا بغيظهم لم ينالوا خيرا وكفى الله المؤمنين القتال وكان الله قويا عزيزا} فقام رسول الله ﷺ فأمر بلالا، فأقام الصلاة، ثم صلى الظهر كما كان يصليها قبل ذلك، ثم أقام العصر، فصلى العصر كما كان يصليها قبل ذلك، ثم أقام المغرب، فصلى المغرب كما كان يصليها قبل ذلك، ثم أقام العشاء فصلاها كما كان يصليها قبل ذلك، قبل أن ينزل: {فإن خفتم فرجالا أو ركبانا}[البقرة: ٢٣٩].
Nasai (621) and Ibn Abu Shayba in his Musannaf (37656) both narrated it through Ibn Abu Dhib, who said, Saeed bin Abu Saeed Maqburi narrated to us, from Abdul-Rahman bin Abu Saeed, from his father, who said, then he mentioned it. Its isnad is sahih.