Facsimile · p. 114
Al-Husayni also mentioned Ibn Khaldun's sayings and refuted them, calling his words an error, not based on research. He finally concluded that the Mahdi would appear at the end of time, and denying this was great audacity and a grave error. As for the Sunnis, their belief in the Mahdi is less dangerous because they believe he is among the signs of the Hour, like the Messiah and the Antichrist. They believe that at the end of time, a man from the Household of the Prophet must appear, who will support religion, establish justice, be followed by Muslims, and conquer Islamic kingdoms, and he will be called the Mahdi. The appearance of the Antichrist and the subsequent signs of the Hour will follow him, then Jesus will descend and kill the Antichrist, and Jesus will follow the Mahdi, and so on. However, since the Hour, or the end of time, is of unknown timing, every claimant who claims to be the Mahdi and a sign of the end of time, and so on. Imam Al-Shawkani wrote a book on the authenticity of this, titled "Al-Tawdih fi Tawatur ma Ja'a fi al-Muntazar wa al-Dajjal wa al-Masih." I am among those who hold Ibn Khaldun's opinion regarding the weakness of these Mahdist hadiths and that those who succeeded as Mahdis only succeeded due to the abundance of their followers.