It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The rulers will be from Quraysh, as long as, when they judge, they act justly, and when they are asked for mercy, they show mercy."
Abu Dawud al-Sijistani (may Allah have mercy on him) said: I heard Abu Abdullah, meaning Imam Ahmad bin Hanbal (may Allah have mercy on him), when he was asked about the hadith of Ibrahim bin Sa'd from his father from Sayyiduna Anas (may Allah be pleased with him) from the Prophet (peace and blessings be upon him), "The rulers will be from Quraysh," and he said: "This narration is not in the books of Ibrahim, and it seems that it has no basis."