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.
tirmidhi:2226Aḥmad b. Manīʿ > Surayj b. al-Nuʿmān > Ḥashraj b. Nubātah > Saʿīd b. Jumhān > Safīnah

"Safinah narrated to me, he said: 'The Messenger of Allah ﷺ said: "Al-Khilafah will be in my Ummah for thirty years, then there will be monarchy after that."' Then Safinah said to me: 'Count the Khilafah of Abu Bakr,' then he said: 'Count the Khilafah of 'Umar and the Khilafah of 'Uthman.' Then he said to me: 'Count the Khilafah of 'Ali."' He said: "So we found that they add up to thirty years." Sa'eed said: "I said to him: 'Banu Umaiyyah claim that the Khilafah is among them.' He said: 'Banu Az-Zarqa' lie, rather they are a monarchy, among the worst of monarchies."'  

الترمذي:٢٢٢٦حَدَّثَنَا أَحْمَدُ بْنُ مَنِيعٍ حَدَّثَنَا سُرَيْجُ بْنُ النُّعْمَانِ حَدَّثَنَا حَشْرَجُ بْنُ نُبَاتَةَ عَنْ سَعِيدِ بْنِ جُمْهَانَ قَالَ حَدَّثَنِي سَفِينَةُ قَالَ

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

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

See similar narrations below:

Collected by Ṭabarānī
tabarani:6442ʿAlī b. ʿAbd al-ʿAzīz > Abū Nuʿaym > Ḥashraj b. Nubātah > Saʿīd b. Jumhān > Safīnah

[Machine] The Messenger of Allah, ﷺ , said, "The caliphate will be among my nation for thirty years, then there will be kingship after that." Then he said to me, "Hold on to the ship." So I held on to the caliphate of Abu Bakr, the caliphate of Umar, the caliphate of Uthman, and the caliphate of Ali, may Allah be pleased with them. And I found it to be thirty years.  

الطبراني:٦٤٤٢حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ ثنا أَبُو نُعَيْمٍ ثنا حَشْرَجُ بْنُ نُبَاتَةَ حَدَّثَنِي سَعِيدُ بْنُ جُمْهَانَ حَدَّثَنِي سَفِينَةُ قَالَ

قَالَ رَسُولُ اللهِ ﷺ «الْخِلَافَةُ بَيْنَ أُمَّتِي ثَلَاثُونَ سَنَةً ثُمَّ مُلْكٌ بَعْدَ ذَلِكَ» ثُمَّ قَالَ لِي سَفِينَةُ أَمْسِكْ فَأَمْسَكْتُ خِلَافَةَ أَبِي بَكْرٍ وَخِلَافَةَ عُمَرَ وَخِلَافَةَ عُثْمَانَ وَخِلَافَةَ عَلِيٍّ ؓ فَوَجَدْتُهَا ثَلَاثِينَ