I heard the Messenger of Allah ﷺ say during the Farewell Pilgrimage, "This religion will continue to prevail over those who oppose it. No one who differs from it nor anyone who breaks away from it will harm it, until twelve caliphs from my nation have passed."Then he said something I could not make out, so I asked my father, "What did he say?"He replied, "All of them will be from Quraysh."
حدثنا حماد بن أسامة حدثنا مجالد عن عامر
سمعت رسول الله ﷺ يقول في حجة الوداع إن هذا الدين لن يزال ظاهرا على من ناوأه لا يضره مخالف ولا مفارق حتى يمضي من أمتي اثنا عشر خليفة قال ثم تكلم بشيء لم أفهمه فقلت لأبي ما قال قال كلهم من قريش