The Mahdi (Arabic: ٱلْمَهْدِيّ, romanized: al-Mahdī, lit. 'the Guided', Persian: مهدی) is a figure in Islamic eschatology who is believed to appear at the End of Times to rid the world of evil and injustice. He is said to be a descendant of Muhammad, who will appear shortly before Jesus. The Mahdi is mentioned in several canonical compilations of hadith, but is absent from the Quran and the two most-revered Sunni hadith collections, Sahih al-Bukhari and Sahih Muslim. Thus, some Sunni theologians have questioned the orthodoxy of the Mahdi.
https://en.wikipedia.org/wiki/Mahdi