The Prophet ﷺ said, "If only one day were left of this world, Allah would lengthen that day until He raised up in it a man from me, or from my family, whose name matches my name and whose father's name matches my father's name. He will fill the earth with justice and fairness as it had been filled with oppression and tyranny."In another narration, "The world will not pass away, or will not come to an end, until a man from my family rules the Arabs whose name matches my name."
عن النبي ﷺ قال: لو لم يبق من الدنيا إلا يوم لطول الله ذلك اليوم حتى يبعث الله فيه رجلا مني- أو من أهل بيتي- يواطىء اسمه اسمي، واسم أبيه اسم أبي، يملأ الأرض قسطا وعدلا كما ملئت ظلما وجورا وفي رواية: لا تذهب أو لا تنقضي الدنيا حتى يملك العرب رجل من أهل بيتي يواطىء اسمه اسمي.
Reported by Abu Dawud (4282), Tirmidhi (2320, 2231), and Ahmad (3571-3573), and Ibn Hibban graded it sahih (5954, 6824), all of them through various chains from Asim bin Bahdala Abu Najud, from Zirr bin Hubaysh, from Abdullah bin Masud, who related it.The first wording is Abu Dawud's, and the second is his as well as Tirmidhi's and Ahmad's, though some of them abridged it. Its chain of transmission is hasan because of Asim bin Abu Najud, whose hadith is hasan. Tirmidhi said, "This is a hasan sahih hadith."