BAYHAQI 16548:
from Qāʿadt Abū Hurayrah Khams Sinīn Fasamiʿtuh —
[Machine] Narrated by the Prophet ﷺ : The children of Israel were ruled by their prophets. Whenever a prophet passed away, another prophet would succeed him. But there will be no prophet after me, and there will be many successors. They asked, "What do you command us to do?" He said, "Give them the bay'ah (pledge of allegiance) one after another, and fulfill their rights. Verily, Allah will question them about how they looked after their subjects."
البيهقي ١٦٥٤٨:
عن قاعدت ابو هريره خمس سنين فسمعته —
عَنِ النَّبِيِّ ﷺ قَالَ كَانَتْ بَنُو إِسْرَائِيلَ تَسُوسُهُمُ الْأَنْبِيَاءُ كُلَّمَا هَلَكَ نَبِيٌّ خَلَفَهُ نَبِيٌّ وَإِنَّهُ لَا نَبِيَّ بَعْدِي وَسَتَكُونُ خُلَفَاءُ يَكْثُرُونَ قَالُوا فَمَا تَأْمُرُنَا؟ قَالَ فُوا بَيْعَةَ الْأَوَّلِ فَالْأَوَّلِ وَأَعْطُوهُمْ حَقَّهُمْ فَإِنَّ اللهَ سَائِلُهُمْ عَمَّنِ اسْتَرْعَاهُمْ