Al-Sha'bi narrates that it is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Islam will remain mighty until twelve caliphs."
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 1779