It is narrated from Sayyiduna Uqbah bin Amir al-Juhani (may Allah be pleased with him) that he said: "I saw the Messenger of Allah (peace and blessings be upon him) holding the hand of his uncle, Sayyiduna al-Abbas (may Allah be pleased with him); then he (peace and blessings be upon him) said: 'O Abbas, there has never been a prophethood except that it was followed by a caliphate. And soon, at the end of time, seventeen of your descendants will rule. Among them will be al-Saffah, al-Mansur and al-Mahdi, and he will not be (the promised) Mahdi; and among them also al-Jamuh, al-Aqib, and al-Wahin, from your own lineage. Woe to my Ummah because of him (al-Wahin)! How he will wound the Ummah and destroy it, and he and his followers, going on a way other than the religion of Islam, will carry off its wealth. Then, when allegiance is given to his young son, at the eighteenth (ruler) their dynasty will come to an end, and the people of the West will come forth from their homes.'"
Imam al-Tabarani (may Allah have mercy on him) said: "This hadith is not narrated from Sayyiduna Uqbah bin Amir (may Allah be pleased with him) except with this chain; Ibn Lahi'ah (may Allah have mercy on him) is alone in narrating it."
Hadith Referenceالمعجم الأوسط / باب الميم / 6460
Hadith Gradingمحدثین:فيه عبد الأول بن عبد الله المعلم لم يُعرف، وبقية رجاله ثقات
Hadith Takhrij«قال الهيثمي: وفيه عبد الأول بن عبد الله المعلم ولم أعرفه وبقية رجاله ثقات «مجمع الزوائد ومنبع الفوائد، ج 5، ص 188»»