
Al-Mahdi: The Imam of the End of Times
المهدي
Al-Mahdi ('the rightly guided') in Sunni belief is a righteous man from the Prophet's ﷺ descendants through Fatima who appears at the end of times. He is pledged allegiance in Mecca and restores justice to an earth filled with oppression, ruling for some years (seven to nine). Remarkably he does not know himself to be the Mahdi — God prepares and inspires him in one night. His appearance is linked to the descent of 'Isa, the confrontation with the Dajjal, and 'Isa prays behind him. Around him gather elite companions numbering the people of Badr (313), assembled by God without prior coordination. His era witnesses major events in Syria, Iraq, Palestine and the conquest of Constantinople. He is a pivotal event among the major signs of the Hour.
His Lineage — from the Prophet's ﷺ household, from Fatima's descendants. Umm Salama narrated: 'The Mahdi is from my family, from the descendants of Fatima' (Abu Dawud — authenticated by al-Albani).
His Name — his name and his father's name are like the Prophet's ﷺ name and his father's name: Muhammad ibn Abdullah. From Ibn Mas'ud: 'A man from my family shall rule, whose name matches mine' (Abu Dawud, Tirmidhi and Ahmad).
How He Appears — after a leader's death a strife occurs and a man flees from Medina to Mecca where people pledge allegiance to him against his will between the corner and the Maqam in the Sacred Mosque (hadith of Umm Salama, Abu Dawud).
The Army Swallowed by the Earth — among the most wondrous signs: an authentic hadith from 'Aisha (Bukhari and Muslim): an army heads for Mecca and when it reaches al-Bayda' (desert between Mecca and Medina) it is swallowed by the earth. 'Aisha asked the Prophet ﷺ: how are they all swallowed when some are coerced? He said: 'They are all swallowed then resurrected according to their intentions' — a profound lesson: the earth takes them together but God judges each by their heart.
God Prepares Him in One Night — a key characteristic: the Mahdi does not know himself to be the chosen one. God chooses and qualifies him suddenly. The Prophet ﷺ said (Ahmad and Ibn Maja — authenticated by al-Albani): 'The Mahdi is from us, the People of the House; God sets him right in one night.' This means God strengthens, inspires and guides him, giving him knowledge and competence in a single night he was not prepared for beforehand.
With 'Isa Against the Dajjal — his appearance is linked to the descent of 'Isa and the confrontation with the Dajjal, the three in the same era. The sequence as Sunni hadiths describe is remarkable: while the threatened Muslims are preparing for Fajr prayer, 'Isa descends from the sky (at the white minaret east of Damascus according to the hadith of an-Nawwas ibn Sam'an, Muslim). The Mahdi invites him to lead: 'Come forward and lead us in prayer.' But 'Isa declines out of honour for this community: 'God has not dishonoured this community' — so the Mahdi leads, and 'Isa prays behind him — a prophet of God praying behind a man of the Prophet's ﷺ community, a great honour.
His Work — he fills the earth with equity and justice as it was filled with oppression and wrongdoing, and rules by the Sunnah. He remains seven years (or seven to nine in other narrations) then dies and Muslims pray over him.
Al-Mahdi is not mentioned in the Quran: his source is the Sunnah alone. The dominant Sunni scholarly position is that a sufficient number of hadiths about him are authentic — some speak of ma'nawi tawatur — and that belief in his coming is part of the Sunni tradition. This Sunni position is what the site presents. Two methodological notes that do not diminish the event: not all details are at the same level. The core (Fatima's descendants, the name, restoring justice, the pledge in Mecca, the connection to 'Isa and the Dajjal) rests on solid hadiths. Some details like the Black Banners from Khorasan come from hadiths whose authentication is disputed: weak in some chains but several scholars raise them through convergence of chains (hasan li-ghayrihi). The site explains this rather than adjudicating. The hadiths give signs to recognise the Mahdi when he appears, not to identify him in advance or fix a date. Through history many have claimed Mahdism (in Sudan, Morocco, Mecca in 1979...) and every claim proved false. The site supports no identification of person or date.
Al-Mahdi is a promise of hope: oppression however great will not last and God will restore justice. But the real lesson is not passive waiting for a saviour: it is a call to work for justice from now and spiritual readiness rather than speculation about dates and names. Truth will triumph by God's leave.