(9) باب فِي الْخُلَفَاءِ
Abu Bakrah said:
One day the Prophet (ﷺ) asked: Which of you had a dream? He then mentioned the rest of the tradition to the same effect, but he did not mention the word "disliked". Instead, he said: The Messenger of Allah (ﷺ) was grieved about that. He then said: There will be a caliphate on the model of prophecy, then Allah will give the kingdom to whom he wills.
Reference: Sunan Abi Dawud 4635
In-book reference: Book 42, Hadith 40
English translation: Book 41, Hadith 4618