Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:1891Abū ʿAbdullāh al-Ḥāfiẓ And ʾAbū Bakr Aḥmad b. al-Ḥasan al-Qāḍī > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Ibrāhīm b. Marzūq > Bishr b. ʿUmar al-Zahrānī > Ibn Abū Dhiʾb > Saʿīd al-Maqburī > ʿAbd al-Raḥman b. Abū Saʿīd al-Khudrī from his father > Ḥubisnā Yawm al-Khandaq

[Machine] Regarding prayer, the Prophet used to pray after Maghrib until we were satisfied. This is in accordance with the saying of Allah, "And Allah is sufficient for the believers in battle, and Allah is powerful and exalted in might." (Surah Al-Ahzab, 33:25) The Messenger of Allah ﷺ commanded Bilal to announce the prayer, so he established the Dhuhr prayer and performed it excellently as he used to pray it. Then he commanded him to announce the Asr prayer, and he established it and performed it excellently as well. He then commanded him to announce the Maghrib prayer, and he established it and performed it excellently. Similarly, he commanded him to announce the Isha prayer, and he established it and performed it excellently. This was before Allah, the Exalted, revealed in the prayer of fear, "So take heed, O you with vision, of men on foot and on horses." (Surah Al-Baqarah, 2:239) And it was like this.  

البيهقي:١٨٩١أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ وَأَبُو بَكْرٍ أَحْمَدُ بْنُ الْحَسَنِ الْقَاضِي قَالَا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا إِبْرَاهِيمُ بْنُ مَرْزُوقٍ ثنا بِشْرُ بْنُ عُمَرَ الزَّهْرَانِيُّ ثنا ابْنُ أَبِي ذِئْبٍ عَنْ سَعِيدٍ الْمَقْبُرِيِّ عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي سَعِيدِ الْخُدْرِيِّ عَنْ أَبِيهِ قَالَ حُبِسْنَا يَوْمَ الْخَنْدَقِ

عَنِ الصَّلَاةِ حَتَّى كَانَ بَعْدَ الْمَغْرِبِ يَهْوِي مِنَ اللَّيْلِ حَتَّى كُفِينَا وَذَلِكَ قَوْلُ اللهِ ﷻ {وَكَفَى اللهُ الْمُؤْمِنِينَ الْقِتَالَ وَكَانَ اللهُ قَوِيًّا عَزِيزًا} [الأحزاب 25] فَأَمَرَ رَسُولُ اللهِ ﷺ بِلَالًا فَأَقَامَ الصَّلَاةَ فَصَلَّى الظُّهْرَ فَأَحْسَنَ صَلَاتَهَا كَمَا كَانَ يُصَلِّيَهَا ثُمَّ أَمَرَهُ فَأَقَامَ فَصَلَّى الْعَصْرَ كَذَلِكَ ثُمَّ أَمَرَهُ فَأَقَامَ فَصَلَّى الْمَغْرِبَ كَذَلِكَ ثُمَّ أَمَرَهُ فَأَقَامَ فَصَلَّى الْعِشَاءَ كَذَلِكَ وَذَلِكَ قَبْلَ أَنْ يُنْزِلَ اللهُ تَعَالَى فِي صَلَاةِ الْخَوْفِ {فَرِجَالًا أَوْ رُكْبَانًا} [البقرة 239] وَهَكَذَا  

رَوَاهُ الشَّافِعِيُّ فِي الْجَدِيدِ عَنِ ابْنِ أَبِي فُدَيْكٍ عَنِ ابْنِ أَبِي ذِئْبٍ وَرَوَاهُ أَبُو دَاوُدَ الطَّيَالِسِيُّ عَنِ ابْنِ أَبِي ذِئْبٍ بِمَعْنَاهُ وَقَالَ فِي الْحَدِيثِ فَأَمَرَ رَسُولُ اللهِ ﷺ بِلَالًا فَأَقَامَ لِكُلِّ صَلَاةٍ إِقَامَةً وَرَوَاهُ الشَّافِعِيُّ فِي الْقَدِيمِ عَنْ غَيْرِ وَاحِدٍ عَنِ ابْنِ أَبِي ذِئْبٍ لَمْ يُسَمِّ أَحَدًا مِنْهُمْ وَقَالَ فِي الْحَدِيثِ فَأَمَرَ بِلَالًا فَأَذَّنَ وَأَقَامَ فَصَلَّى الظُّهْرَ ثُمَّ أَمَرَهُ فَأَقَامَ فَصَلَّى الْعَصْرَ ثُمَّ أَمَرَهُ فَأَقَامَ فَصَلَّى الْمَغْرِبَ ثُمَّ أَمَرَهُ فَأَقَامَ فَصَلَّى الْعِشَاءَ وَهَكَذَا رَوَاهُ أَبُو عُبَيْدَةَ بْنِ عَبْدِ اللهِ بْنِ مَسْعُودٍ عَنْ أَبِيهِ فِي هَذِهِ الْقِصَّةِ فِي إِحْدَى الرِّوَايَتَيْنِ عَنْهُ إِلَّا أَنَّ أَبَا عُبَيْدَةَ لَمْ يُدْرِكْ أَبَاهُ وَهُوَ مُرْسَلٌ جَيِّدٌ