The Prophet ﷺ said, "If only one day were left of this world," Zaidah added in his version, "Allah would lengthen that day," then they agreed in their wording, "until He raises up in it a man from me," or "from my household, whose name matches my name and whose father's name matches my father's name."Fitr added in his version, "He will fill the earth with justice and fairness as it had been filled with oppression and tyranny."In Sufyan's version it states, "The world will not pass away," or "will not come to an end, until a man from my household rules over the Arabs, whose name matches my name."
حدثنا مسدد أن عمر بن عبيد حدثهم ح و حدثنا محمد بن العلاء حدثنا أبو بكر يعني ابن عياش ح و حدثنا مسدد حدثنا يحيى عن سفيان ح و حدثنا أحمد بن إبراهيم حدثنا عبيد الله بن موسى أخبرنا زائدة ح و حدثنا أحمد بن إبراهيم حدثني عبيد الله بن موسى عن فطر المعنى واحد كلهم عن عاصم عن زر
عن النبي ﷺ قال لو لم يبق من الدنيا إلا يوم قال زائدة في حديثه لطول الله ذلك اليوم ثم اتفقوا حتى يبعث فيه رجلا مني أو من أهل بيتي يواطئ اسمه اسمي واسم أبيه اسم أبي زاد في حديث فطر يملأ الأرض قسطا وعدلا كما ملئت ظلما وجورا وقال في حديث سفيان لا تذهب أو لا تنقضي الدنيا حتى يملك العرب رجل من أهل بيتي يواطئ اسمه اسمي
[Its chain of transmission is hasan] Tirmidhi transmitted it in "Fitan," chapter on what has been said about Mahdi, no. 2230, from the hadith of Sufyan Thawri, and he said, "Hasan sahih." Dhahabi also graded it sahih in Talkhis Mustadrak, 4/442.