"The Mahdī is from us, the people of the house; Allāh will rectify him in one night." Narrated by Ibn Mājah (4075), Aḥmad (1/84), al-ʿUqaylī in "al-Ḍuʿafāʾ" (470), Ibn ʿAdī (360/2), and Abū Nuʿaym in "al-Ḥilyah" (3/177) from Yāsīn al-ʿAjlī from Ibrāhīm ibn Muḥammad ibn al-Ḥanafiyyah from his father from ʿAlī as a marfūʿ ḥadīth. And he said: "Yāsīn is not followed on this wording, and there are sound ḥadīths about the Mahdī from other than this route." I said: Indeed, he was followed by Sālim ibn Abī Ḥafṣah; Abū Nuʿaym reported it in "Akhbār Aṣbahān" (1/170) from him, paired with this Yāsīn, who is Ibn Shaybān. Al-Bukhārī said: "There is some consideration in his ḥadīth." Ibn Maʿīn said: "There is no harm in him," and in another narration: "He is sound." Abū Zurʿah said: "There is no harm in him." Al-Ḥāfiẓ said in "Tahdhīb al-Tahdhīb": "And it appeared in 'Sunan Ibn Mājah' from Yāsīn without attribution, so some later scholars thought it was Yāsīn ibn Muʿādh al-Zayyāt, and they weakened the ḥadīth because of him, but they did nothing." And he said in "al-Taqrīb": "There is no harm in him, and it is an error to claim that he is Ibn Muʿādh al-Zayyāt." I said: And the rest of the narrators are trustworthy, so the isnād is good. But the previous follow-up by Sālim ibn Abī Ḥafṣah—who is truthful in ḥadīth—elevates the ḥadīth to the level of ṣaḥīḥ. And Allāh knows best.
" المهدي منا أهل البيت، يصلحه الله في ليلة ". رواه ابن ماجة (٤٠٧٥) وأحمد (١ / ٨٤) والعقيلي في " الضعفاء " (٤٧٠) وابن عدي (٣٦٠ / ٢) وأبو نعيم في " الحلية " (٣ / ١٧٧) عن ياسين العجلي عن إبراهيم بن محمد بن الحنفية عن أبيه عن علي مرفوعا. وقال: " لا يتابع ياسين على هذا اللفظ وفي المهدي أحاديث صالحة الأسانيد من غير هذا الطريق ". قلت: بلى، قد تابعه سالم بن أبي حفصة، أخرجه أبو نعيم في " أخبار أصبهان " (١ / ١٧٠) عنه مقرونا مع ياسين هذا، وهو ابن شيبان، قال البخاري: " في حديثه نظر ". قال ابن معين: " ليس به بأس، وفي رواية: صالح ". وقال أبو زرعة " لا بأس به ". قال الحافظ في " تهذيب التهذيب ". " ووقع في " سنن ابن ماجة " عن ياسين غير منسوب، فظنه بعض الحفاظ المتأخرين ياسين بن معاذ الزيات، فضعف الحديث به، فلم يصنع شيئا ". وقال في " التقريب ": " لا بأس به، ووهم من زعم أنه ابن معاذ الزيات ". قلت: وسائر الرواة ثقات، فالإسناد حسن. لكن متابعة سالم بن أبي حفصة المتقدمة - وهو صدوق في الحديث - ترفع الحديث إلى مرتبة الصحيح. والله أعلم.