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:16533[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-Naḍr Muḥammad b. Muḥammad b. Yūsuf > ʿUthmān b. Saʿīd al-Dārimī [Chain 2] Abū al-Ḥasan b. ʿAbdān > Aḥmad b. ʿUbayd al-Ṣaffār > al-Asfāṭī > Abū al-Walīd > ʿĀṣim b. Muḥammad > Abū > Ibn ʿUmar

[Machine] The Prophet ﷺ said, "As long as there are two people left in Quraish, this matter (Islam) will continue." And in another narration by Ad-Darimi, "As long as there are two people remaining among the people."  

البيهقي:١٦٥٣٣أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي أَبُو النَّضْرِ مُحَمَّدُ بْنُ مُحَمَّدِ بْنِ يُوسُفَ ثَنَا عُثْمَانُ بْنُ سَعِيدٍ الدَّارِمِيُّ ح وَأَخْبَرَنَا أَبُو الْحَسَنِ بْنُ عَبْدَانَ أَنْبَأَ أَحْمَدُ بْنُ عُبَيْدٍ الصَّفَّارُ ثَنَا الْأَسْفَاطِيُّ قَالَا ثَنَا أَبُو الْوَلِيدِ ثَنَا عَاصِمُ بْنُ مُحَمَّدٍ قَالَ سَمِعْتُ أَبِي يُحَدِّثُ عَنِ ابْنِ عُمَرَ

عَنِ النَّبِيِّ ﷺ قَالَ لَا يَزَالُ هَذَا الْأَمْرُ فِي قُرَيْشٍ مَا كَانَ فِي النَّاسِ اثْنَيْنِ وَفِي رِوَايَة الدَّارِمِيِّ مَا بَقِيَ مِنَ النَّاسِ اثْنَانِ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ أَبِي الْوَلِيدِ وَرَوَاهُ الْبُخَارِيُّ وَمُسْلِمٌ عَنْ أَحْمَدَ بْنِ يُونُسَ عَنْ عَاصِمِ بْنِ مُحَمَّدٍ

See similar narrations below:

Collected by Bayhaqī
bayhaqi:5296Abū ʿAbdullāh al-Ḥāfiẓ > Abū ʿAbdullāh Muḥammad b. Yaʿqūb > Yaḥyá b. Muḥammad b. Yaḥyá > Aḥmad b. Yūnus > ʿĀṣim b. Muḥammad from his father > ʿAbdullāh b. ʿUmar

[Machine] The Prophet ﷺ said, "This matter will continue to be in the hands of the Quraysh as long as there are two individuals remaining from the people."  

البيهقي:٥٢٩٦أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا يَحْيَى بْنُ مُحَمَّدِ بْنِ يَحْيَى ثنا أَحْمَدُ بْنُ يُونُسَ ثنا عَاصِمُ بْنُ مُحَمَّدٍ عَنْ أَبِيهِ قَالَ قَالَ عَبْدُ اللهِ بْنُ عُمَرَ

قَالَ رَسُولُ اللهِ ﷺ لَا يَزَالُ هَذَا الْأَمْرُ فِي قُرَيْشٍ مَا بَقِيَ مِنَ النَّاسِ اثْنَانِ  

رَوَاهُ الْبُخَارِيُّ وَمُسْلِمٌ فِي الصَّحِيحِ عَنْ أَحْمَدَ بْنِ يُونُسَ