Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:773Ḥajjāj And ʾAbū Nuʿaym > Fiṭr > al-Qāsim b. Abū Bazzah > Abū al-Ṭufayl > Ḥajjāj > ʿAlī

I heard ‘Ali ؓ say: The Messenger of Allah ﷺ said: “If there was only one day left of this world, Allah, may He be glorified and exalted, would send a man from us [Ahlul Bait] to fill it with justice as it was filled with injustice.” Abu Nuʿaim said: ʿA man from me.ʿ He said: On one occasion I heard him narrate it from Habeeb from Abut-Tufail from ʿAli ؓ from the Prophet ﷺ.  

أحمد:٧٧٣حَدَّثَنَا حَجَّاجٌ وَأَبُو نُعَيْمٍ قَالا حَدَّثَنَا فِطْرٌ عَنِ الْقَاسِمِ بْنِ أَبِي بَزَّةَ عَنْ أَبِي الطُّفَيْلِ قَالَ حَجَّاجٌ سَمِعْتُ عَلِيًّا يَقُولُ

قَالَ رَسُولُ اللهِ ﷺ لَوْ لَمْ يَبْقَ مِنَ الدُّنْيَا إِلا يَوْمٌ لَبَعَثَ اللهُ ﷻ رَجُلًا مِنَّا يَمْلَؤُهَا عَدْلًا كَمَا مُلِئَتْ جَوْرًا قَالَ أَبُو نُعَيْمٍ رَجُلًا مِنِّي قَالَ وَسَمِعْتُهُ مَرَّةً يَذْكُرُهُ عَنْ حَبِيبٍ عَنْ أَبِي الطُّفَيْلِ عَنْ عَلِيٍّ عَنِ النَّبِيِّ ﷺ