حَدَّثَنَا زُهَيْرٌ، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، أَخْبَرَنَا ابْنُ أَبِي ذِئْبٍ مُحَمَّدُ بْنُ عَبْدِ الرَّحْمَنِ، عَنِ الْمَقْبُرِيِّ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي سَعِيدٍ، عَنْ أَبِيهِ قَالَ: حُبِسْنَا يَوْمَ الْخَنْدَقِ عَنِ الظُّهْرِ وَالْعَصْرِ وَالْمَغْرِبِ وَالْعِشَاءِ حَتَّى كُفِينَا، وَذَلِكَ قَوْلُ اللَّهِ: {وَكَفَى اللَّهُ الْمُؤْمِنِينَ الْقِتَالَ وَكَانَ اللَّهُ قَوِيًّا عَزِيزًا} [الأحزاب: 25]، فَقَامَ رَسُولُ اللَّهِ صلى الله عليه وسلم فَأَمَرَ بِلَالًا فَأَقَامَ، ثُمَّ «صَلَّى الظُّهْرَ كَمَا كَانَ يُصَلِّيهَا قَبْلَ ذَلِكَ، ثُمَّ أَقَامَ فَصَلَّى الْعَصْرَ كَمَا كَانَ يُصَلِّيهَا قَبْلَ ذَلِكَ، ثُمَّ أَقَامَ الْمَغْرِبَ فَصَلَّاهَا كَمَا كَانَ يُصَلِّيهَا قَبْلَ ذَلِكَ، ثُمَّ أَقَامَ الْعِشَاءَ فَصَلَّاهَا كَمَا كَانَ يُصَلِّيهَا قَبْلَ ذَلِكَ»، وَذَلِكَ قَبْلَ أَنْ يَنْزِلَ: {فَإِنْ خِفْتُمْ فَرِجَالًا أَوْ رُكْبَانًا} [البقرة: 239]
It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that he said: "On the day of the Battle of the Trench (al-Khandaq) we were held back from the Zuhr, Asr, Maghrib and Isha prayers (that is, because of the fighting we could not perform them on time) until Allah Almighty sufficed us (against the enemy). This was the occasion of the words of Allah Almighty: {And Allah spared the believers from fighting, and Allah is Most Strong, Almighty} [Al-Ahzab: 25]. Then the Messenger of Allah (peace and blessings be upon him) stood up and ordered Sayyiduna Bilal (may Allah be pleased with him), who called the iqamah. Then he (peace and blessings be upon him) prayed Zuhr just as he (peace and blessings be upon him) used to pray it before (in its time). Then he called the iqamah again and he (peace and blessings be upon him) prayed Asr just as he used to pray it before. Then he called the iqamah for Maghrib and he (peace and blessings be upon him) prayed it too according to his previous practice. Then he called the iqamah for Isha and he (peace and blessings be upon him) prayed it too in the same way as before. This happened before this verse was revealed: {And if you fear (an enemy), then pray on foot or riding} [Al-Baqarah: 239]."