The Messenger of Allah ﷺ said, "If only one day remained of this world, Allah would send a man from us who would fill it with justice just as it had been filled with tyranny."Abu Naeem said, "A man from us." He said, "I heard him once mention it from Habib, from Abu Tufayl, from Ali
, from the Prophet ﷺ."
حدثنا حجاج وأبو نعيم قالا حدثنا فطر عن القاسم بن أبي بزة عن أبي الطفيل قال حجاج سمعت
قال رسول الله ﷺ لو لم يبق من الدنيا إلا يوم لبعث الله عز وجل رجلا منا يملؤها عدلا كما ملئت جورا قال أبو نعيم رجلا منا قال وسمعته مرة يذكره عن حبيب عن أبي الطفيل عن علي رضي الله عنه عن النبي ﷺ
Its isnad is sahih. Fitr is Ibn Khalifa, and he is trustworthy as we said at 730, so no attention should be paid to the statement of Ibn Yunus, Abu Bakr bin Ayyash, and Juzjani in declaring him daif, rather this is a rejected statement, as noted in Awn al-Mabud, especially since Bukhari gave him a biographical entry in Kabir 4/1/139 and mentioned no criticism of him. Fitr is with a kasra on the fa and a sakin on the ta, and in one copy it appears as Qatr with a qaf, which is a scribal error. Qasim bin Abu Bazza is trustworthy. Abu Tufayl is Amir bin Wathila. Habib in the second isnad is Habib bin Abu Thabit.The summary of this is that Ahmad narrated it from Hajjaj and Abu Naeem, from Fitr, from Qasim, from Abu Tufayl, and he also narrated it from Abu Naeem alone, from Fitr, from Habib, from Abu Tufayl. The hadith was narrated by Abu Dawud, 4:174, from Uthman bin Abu Shayba, from Fadl bin Dukayn, who is Abu Naeem, from Fitr, from Qasim, from Abu Tufayl. He said in Awn al-Mabud, "Munziri remained silent about it... its chain is hasan and strong." See also 645.