TABARANI 6444:
from Safīnah —
[Machine] The Messenger of Allah ﷺ said, "The caliphate of prophethood will last for thirty years, then Allah will give it to whomever He wills, or He will give His kingdom to whomever He wills." Sa'id said, "Abu Bakr held it for two years, and 'Umar held it for ten years, and 'Uthman held it for twelve years, and 'Ali held it for six years."
الطبراني ٦٤٤٤:
عن سفينه —
قَالَ رَسُولُ اللهِ ﷺ «خِلَافَةُ النُّبُوَّةِ ثَلَاثُونَ سَنَةً ثُمَّ يُؤْتِي اللهُ مَنْ يَشَاءُ أَوْ قَالَ مُلْكَهُ مَنْ يَشَاءُ» قَالَ سَعِيدٌ «أَمْسَكَ أَبُو بَكْرٍ سَنَتَيْنِ وَعُمَرُ عَشْرًا وَعُثْمَانُ ثِنْتَيْ عَشْرَةَ وَعَلِيٌّ سِتًّا»
hadithunlocked.com