كتاب الإمارة
33  
The Book on Government
(1)
Chapter: The people follow the Quraish and the Caliphate belongs to the Quraish
(1)
باب النَّاسُ تَبَعٌ لِقُرَيْشٍ وَالْخِلاَفَةُ فِي قُرَيْشٍ ‏‏
Sahih Muslim 1822 a

It has been narrated on the authority of Amir b. Sa'd b. Abu Waqqas who said:

I wrote (a letter) to Jabir b. Samura and sent it to him through my servant Nafi', asking him to inform me of something he had heard from the Messenger of Allah (ﷺ). He wrote to me (in reply): I heard the Messenger of Allah (ﷺ) say on Friday evening, the day on which al-Aslami was stoned to death (for committing adultery): The Islamic religion will continue until the Hour has been established, or you have been ruled over by twelve Caliphs, all of them being from the Quraish. also heard him say: A small force of the Muslims will capture the white palace, the police of the Persian Emperor or his descendants. I also heard him say: Before the Day of Judgment there will appear (a number of) impostors. You are to guard against them. I also heard him say: When God grants wealth to any one of you, he should first spend it on himself and his family (and then give it in charity to the poor). I heard him (also) say: I will be your forerunner at the Cistern (expecting your arrival).
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، وَأَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ قَالاَ حَدَّثَنَا حَاتِمٌ، - وَهُوَ ابْنُ إِسْمَاعِيلَ - عَنِ الْمُهَاجِرِ بْنِ مِسْمَارٍ، عَنْ عَامِرِ بْنِ سَعْدِ بْنِ أَبِي وَقَّاصٍ، قَالَ كَتَبْتُ إِلَى جَابِرِ بْنِ سَمُرَةَ مَعَ غُلاَمِي نَافِعٍ أَنْ أَخْبِرْنِي بِشَىْءٍ، سَمِعْتَهُ مِنْ، رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ فَكَتَبَ إِلَىَّ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَوْمَ جُمُعَةٍ عَشِيَّةَ رُجِمَ الأَسْلَمِيُّ يَقُولُ ‏"‏ لاَ يَزَالُ الدِّينُ قَائِمًا حَتَّى تَقُومَ السَّاعَةُ أَوْ يَكُونَ عَلَيْكُمُ اثْنَا عَشَرَ خَلِيفَةً كُلُّهُمْ مِنْ قُرَيْشٍ ‏"‏ ‏.‏ وَسَمِعْتُهُ يَقُولُ ‏"‏ عُصَيْبَةٌ مِنَ الْمُسْلِمِينَ يَفْتَتِحُونَ الْبَيْتَ الأَبْيَضَ بَيْتَ كِسْرَى أَوْ آلِ كِسْرَى ‏"‏ ‏.‏ وَسَمِعْتُهُ يَقُولُ ‏"‏ إِنَّ بَيْنَ يَدَىِ السَّاعَةِ كَذَّابِينَ فَاحْذَرُوهُمْ ‏"‏ ‏.‏ وَسَمِعْتُهُ يَقُولُ ‏"‏ إِذَا أَعْطَى اللَّهُ أَحَدَكُمْ خَيْرًا فَلْيَبْدَأْ بِنَفْسِهِ وَأَهْلِ بَيْتِهِ ‏"‏ ‏.‏ وَسَمِعْتُهُ يَقُولُ ‏"‏ أَنَا الْفَرَطُ عَلَى الْحَوْضِ ‏"‏ ‏.‏
Reference : Sahih Muslim 1822a
In-book reference : Book 33, Hadith 11
USC-MSA web (English) reference : Book 20, Hadith 4483
  (deprecated numbering scheme)