It is narrated from Sayyiduna Ali (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The imams will be from Quraysh; their righteous ones will be rulers of the righteous, and their wicked ones will be rulers of the wicked. Each has a right, so give everyone who has a right his right. And if even an Abyssinian slave with a mutilated nose and ears is appointed as your ruler, listen to him and obey, as long as one of you is not given a choice between his Islam and having his neck struck; [in such a case] let him stretch out his neck [before the sword], may his mother be bereaved of him, for after his Islam is gone, he has neither this world nor the Hereafter."
Imam al-Bukhari (may Allah have mercy on him) and Imam Muslim (may Allah have mercy on him) narrated from Ahmad bin Yunus, from Asim bin Muhammad bin Zayd bin Abdullah bin Umar bin al-Khattab, from his father, from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that he said: The Messenger of Allah (peace and blessings be upon him) said: "This matter (the caliphate) will remain among Quraysh as long as even two people remain among mankind."