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:3191Muḥammad b. ʿAbdullāh al-Ḥāfiẓ > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Muḥammad b. Isḥāq al-Ṣaghānī > Ibn Abū Maryam > Ibn Lahīʿah > Yazīd b. Abū Ḥabīb > Muḥammad b. Yazīd > ʿAbdullāh b. ʿAwf > Abū Jumaʿah

[Machine] Narrated Abu Jumah Habib bin Sibaa', who was one of the companions of the Messenger of Allah, ﷺ , that on the day of Al-Ahzab (the Confederates), the Messenger of Allah, ﷺ , prayed Maghrib (evening prayer) and forgot to pray Asr (afternoon prayer). So the Messenger of Allah, ﷺ , said to his companions, "Did you see me pray Asr?" They replied, "No, O Messenger of Allah." So the Messenger of Allah, ﷺ , commanded the Muadh-dhin (caller to prayer) to make the call to prayer, then he established the prayer and prayed Asr, nullifying the previous one. Then he prayed Maghrib. This narration has been narrated from Jaabir ibn Abdullah, from the Prophet, ﷺ , that he prayed Asr and then prayed Maghrib after it. It is also narrated from Ali, from the Prophet, ﷺ , that he prayed between Maghrib and Isha (evening) prayer, between the setting of the sun and the time of Isha. This is consistent with the narration of Jaabir, and Allah knows best.  

البيهقي:٣١٩١أَخْبَرَنَاهُ مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا مُحَمَّدُ بْنُ إِسْحَاقَ الصَّغَانِيُّ ثنا ابْنُ أَبِي مَرْيَمَ أنبأ ابْنُ لَهِيعَةَ عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ عَنْ مُحَمَّدِ بْنِ يَزِيدَ عَنْ عَبْدِ اللهِ بْنِ عَوْفٍ

عَنْ أَبِي جُمَعَةَ حَبِيبِ بْنِ سِبَاعٍ وَكَانَ مِنْ أَصْحَابِ رَسُولِ اللهِ ﷺ أَنَّ رَسُولَ اللهِ ﷺ عَامَ الْأَحْزَابِ صَلَّى الْمَغْرِبَ وَنَسِيَ الْعَصْرَ فَقَالَ رَسُولُ اللهِ ﷺ لِأَصْحَابِهِ هَلْ رَأَيْتُمُونِي صَلَّيْتُ الْعَصْرَ؟ قَالُوا لَا يَا رَسُولَ اللهِ فَأَمَرَ رَسُولُ اللهِ ﷺ الْمُؤَذِّنَ فَأَذَّنَ ثُمَّ أَقَامَ الصَّلَاةَ فَصَلَّى الْعَصْرَ وَنَقَضَ الْأُولَى ثُمَّ صَلَّى الْمَغْرِبَ وَرُوِّينَا فِي الْحَدِيثِ الثَّابِتِ عَنْ جَابِرِ بْنِ عَبْدِ اللهِ عَنِ النَّبِيِّ ﷺ أَنَّهُ صَلَّى الْعَصْرَ ثُمَّ صَلَّى الْمَغْرِبَ بَعْدَهَا فَيُحْتَمَلُ أَنْ يَكُونَ فَعَلَ ذَلِكَ فِي يَوْمٍ وَمَا رُوِّينَا عَنْ عَلِيٍّ ؓ عَنِ النَّبِيِّ ﷺ فِي يَوْمٍ آخَرَ وَمَا رُوِّينَاهُ فِي حَدِيثِ ابْنِ مَسْعُودٍ وَأَبِي سَعِيدٍ فِي يَوْمٍ آخَرَ وَيُحْتَمَلُ أَنْ يَكُونَ الْمُرَادُ بِقَوْلِ عَلِيٍّ ؓ بَيْنَ الْمَغْرِبِ وَالْعِشَاءِ بَيْنَ غُرُوبِ الشَّمْسِ وَوَقْتِ الْعِشَاءِ فَيَكُونَ مُوَافِقًا لِرِوَايَةِ جَابِرٍ وَاللهُ أَعْلَمُ