Abd al-Malik bin Umayr narrates from Sayyiduna Jabir (may Allah be pleased with him) that he said: The Messenger of Allah (peace and blessings be upon him) said: "This matter will continue to stand until there have been twelve caliphs."
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 1863