Mahdi

Messianic figure in Islamic eschatology

Read the original on Wikipedia ↗ Last updated from Wikipedia: 29 November 2026

This article is about the concept of an eschatological messianic savior in Islam. For other uses, see Mahdi (disambiguation) (opens on Wikipedia).
Mahdi masjedonnabi.jpg
The name of Mahdi at the Prophet's Mosque (opens on Wikipedia) in Medina. Image: Mh.yaghoubi88, CC BY-SA 4.0, via Wikimedia Commons

The Mahdi (Arabic: ٱلْمَهْدِيّ, romanized: al-Mahdī, lit. 'The Guided One') is the Islamic messianic (opens on Wikipedia) and eschatological (opens on Wikipedia) figure, who is believed to appear before the End Times (opens on Wikipedia) to restore justice and defeat tyranny alongside Isa (opens on Wikipedia) (Jesus). He forms an important part of Islamic eschatology (opens on Wikipedia), although Sunni and Shia Muslims differ slightly in their interpretation of him. While the Mahdi is mostly developed in Shia Islam, he is also present in numerous Sunni hadiths. In Twelver Shia Islam (opens on Wikipedia), the Mahdi has a significant role. He is identified with the twelfth and final Imam Muhammad al-Mahdi (opens on Wikipedia), who was born in 869 AD, entered occultation (opens on Wikipedia), and remains alive until his eventual reappearance at the end times alongside Jesus. He is a descendant of Ali (opens on Wikipedia), the Islamic prophet Muhammad's cousin and son-in-law, and Fatima (opens on Wikipedia) through their second son Husayn (opens on Wikipedia), Muhammad's grandson.

In Sunni Islam, the Mahdi is also described as a descendant of Muhammad through his daughter Fatima, who will emerge in the end times alongside Jesus. However, Sunni tradition does not identify him with a historical individual, nor do they attribute to him an occultation. The difference in Sunni Islam is that the Mahdi is a future figure who has not yet appeared, whereas in Shia Islam, he has already been born and is currently in occultation. The Mahdi has a central place in Islamic theology (opens on Wikipedia), devotional literature, and popular piety for over a millennium. He has influenced numerous religious, political, and messianic movements. Throughout history, there have been a vast number of Mahdi claimants (opens on Wikipedia). The signs of his reappearance are common in both Shia and Sunni branches.[1][2] The belief in the Mahdi remains very popular among all Muslims, owing to numerous traditions in canonical Sunni and Shia hadith.[1] It is popularly held that the Mahdi occasionally appears to pious individuals. Accounts of such encounters are numerous and widespread. Every year, millions celebrate Mid-Sha'ban (opens on Wikipedia), marking the birth of Muhammad al-Mahdi.

The term Mahdi is derived from the Arabic root h-d-y (ه-د-ي), commonly used to mean "divine guidance".[3] Although the root appears in the Quran at multiple places and in various contexts, the word Mahdi never occurs in the book.[4] The associated verb is hada, which means to guide. However, Mahdi can be read in active voice, where it means the one who guides, as well as passive voice, where it means the one who is guided.[5]

Pre-Islamic ideas

Mahdi's advent is linked to the Christian concept of the Second Coming of Jesus (opens on Wikipedia), the Jewish concept of Mashiach ben David (opens on Wikipedia), and the Zoroastrian (opens on Wikipedia) concept of the Saoshyant (opens on Wikipedia).[6] Some historians suggest that the term itself was probably introduced into Islam by southern Arabian tribes who had settled in Syria in the mid-7th century. They believed that the Mahdi would lead them back to their homeland and re-establish the Himyarite Kingdom. They also believed that he would eventually conquer Constantinople.[4] It has also been suggested that the concept of the Mahdi may have been derived from earlier messianic Jewish (opens on Wikipedia) and Christian (opens on Wikipedia) beliefs.[7][8] Accordingly, traditions were introduced to support certain political interests, especially anti-Abbasid sentiments.[8] These traditions about the Mahdi appeared only at later times in hadith books (opens on Wikipedia) such as Sunan Abi Dawud (opens on Wikipedia) and Sunan al-Tirmidhi (opens on Wikipedia), but are absent from the early works of Muhammad al-Bukhari (opens on Wikipedia) and Muslim ibn al-Hajjaj (opens on Wikipedia).[9]

A historical hypothesis in comparative religion (opens on Wikipedia), championed by orientalists such as James Darmesteter (opens on Wikipedia) and Ignaz Goldziher (opens on Wikipedia), suggests that the concept of The Mahdi—particularly in its eschatological and metaphysical dimensions—was structurally influenced by the ancient Zoroastrian savior myth of Saoshyant (opens on Wikipedia). Proponents of this hypothesis argue that because the Quran lacks explicit mention of the Mahdi and early Sunni Hadith literature provides limited metaphysical details, a theological vacuum was left in Islamic eschatology; this vacuum allegedly allowed Persian society, following the Muslim conquest of Persia (opens on Wikipedia), to project the mythological attributes of Saoshyant (such as pre-existence, occultation, and the cosmic renewal of the universe) onto general prophetic traditions regarding a reformer from Muhammad's lineage.

Conversely, Islamic scholars reject this influence hypothesis, asserting the prophetic authenticity of Mahdism based on mutawatir (successive) traditions, and interpret these structural similarities as a distorted "early divine prophecy" preserved in ancient faiths. Furthermore, historians note that this influence hypothesis weakens significantly when applied to the traditional Sunni view of the Mahdi, which conceptualizes him strictly as a human leader and historical reformer operating under natural laws, entirely stripped of the theosophical and metaphysical attributes assigned to the Zoroastrian savior.[10][11]

In Islamic eschatology, particularly within Shīʿite traditions, various titles and names are attributed to the promised messianic figure, Imam al-Mahdi, to identify him as the universal savior prophesied in ancient civilizations. In his prominent work Al-Najm al-Thaqib (The Piercing Star), the Shīʿite scholar Mirza Husain Noori Tabarsi cites a treatise titled Dhakhirat al-Albab. According to this account, the Mahdi is mentioned across different ancient languages and scriptures. Specifically, the text records that in a book referred to as "Ista' " (interpreted by scholars as a corruption of the Zoroastrian holy text, the Avesta), the Mahdi is prophesied under the names "Bahram" (a Middle Persian term signifying the divinity of victory and the smiter of resistance) and "Bande Yazdan" (literally meaning "Servant of God" or Abdullah).[12]

Origin

The term al-Mahdi was employed from the beginning of Islam, but only as an honorific epithet ("the guide") and without any messianic significance. As an honorific, it was used in some instances to describe Muhammad (by Hassan ibn Thabit (opens on Wikipedia)), Abraham (opens on Wikipedia), al-Husayn, and various Umayyad caliphs (هداة مهديون, hudat mahdiyyun). During the Second Muslim Civil War (680–692), after the death of Mu'awiya I (opens on Wikipedia) (r. 661–680), the term acquired a new meaning of a ruler who would restore Islam to its perfect form and restore justice after oppression. Abd Allah ibn al-Zubayr (opens on Wikipedia), who laid claim to the caliphate against the Umayyads and found temporary success during the civil war, presented himself in this role. Although the title Mahdi was not applied to him, his career as the anti-caliph significantly influenced the future development of the concept.[3] A hadith was promulgated in which Muhammad prophesies the coming of a just ruler.[13][a]

There will arise a difference after the death of a caliph, and a man of the people of Medina will go forth fleeing to Mecca. Then some of the people of Mecca will come to him and will make him rise in revolt against his will ... An expedition will be sent against him from Syria but will be swallowed up ... in the desert between Mecca and Medina. When the people see this, the righteous men ... of Syria and ... Iraq will come to him and pledge allegiance to him. Thereafter a man of the Quraysh will arise whose maternal uncles are of Kalb. He will send an expedition against them, but they will defeat them ... He will then divide the wealth and act among them according to the Sunna of their Prophet. Islam will settle down firmly on the ground ... He will stay seven years and then die, and the Muslims will pray over him.[16]

Refusing to recognize the new caliph, Yazid I (opens on Wikipedia) (r. 680–683), after Mu'awiya's death in 680, Ibn al-Zubayr had fled to the Meccan sanctuary. From there he launched anti-Umayyad propaganda, calling for a shura of the Quraysh to elect a new caliph. Those opposed to the Umayyads were paying him homage and asking for the public proclamation of his caliphate, forcing Yazid to send an army to dislodge him in 683. After defeating rebels in the nearby Medina, the army besieged Mecca but was forced to withdraw as a result of Yazid's sudden death shortly afterward. Ibn al-Zubayr was recognized caliph in Arabia, Iraq, and parts of Syria, where Yazid's son and successor Mu'awiya II (opens on Wikipedia) (r. 683–684) held power in Damascus and adjoining areas. The hadith hoped to enlist support against an expected Umayyad campaign from Syria. The Umayyads did indeed send another army to Mecca in 692, but contrary to the hadith's prediction was successful in removing Ibn al-Zubayr. The hadith lost relevance soon afterward, but resurfaced in the Basran (opens on Wikipedia) hadith circles a generation later, this time removed from its original context and understood as referring to a future restorer.[13][4]

Around the time when Ibn al-Zubayr was trying to expand his dominion, the pro-Alid revolutionary al-Mukhtar al-Thaqafi (opens on Wikipedia) took control of the Iraqi garrison town of Kufa (opens on Wikipedia) in the name of Ali's son Muhammad ibn al-Hanafiyya (opens on Wikipedia), whom he proclaimed as the Mahdi in the messianic sense.[3] The association of the name Muhammad with the Mahdi seems to have originated with Ibn al-Hanafiyya, who also shared the epithet Abu al-Qasim with Muhammad, the Islamic prophet.[17] Among the Umayyads, the caliph Sulayman ibn Abd al-Malik (r. 715–717) encouraged the belief that he was the Mahdi, and other Umayyad rulers, like Umar ibn Abd al-Aziz (opens on Wikipedia) (r. 717–720), have been addressed as such in the panegyrics (opens on Wikipedia) of Jarir (opens on Wikipedia) (d. 728) and al-Farazdaq (opens on Wikipedia) (d. 728–730).[3]

Early discussions about the identity of the Mahdi by religious scholars can be traced back to the time after the Second Fitna. These discussions developed in different directions and were influenced by traditions (hadith) attributed to Muhammad. In Umayyad times, scholars and traditionists not only differed on which caliph or rebel leader should be designated as Mahdi but also on whether the Mahdi is a messianic figure and if signs and predictions of his time had been satisfied. In Medina, among the conservative religious circles, the belief in Umar ibn Abd al-Aziz being the Mahdi was widespread. Said ibn al-Musayyib (opens on Wikipedia) (d. 715) is said to have identified Umar ibn Abd al-Aziz as the Mahdi long before his reign. The Basran, Abu Qilabah, supported the view that Umar ibn Abd al-Aziz was the Mahdi. Hasan al-Basri (opens on Wikipedia) (d. 728) opposed the concept of a Muslim Messiah but believed that if there was the Mahdi, it was Umar ibn Abd al-Aziz.[18]

By the time of the Abbasid Revolution (opens on Wikipedia) in 750, Mahdi was already a known concept.[19] Evidence shows that the first Abbasid caliph al-Saffah (opens on Wikipedia) (r. 750–754) assumed the title of "the Mahdi" for himself.[20]

Shia Islam

In Shia Islam, the eschatological Mahdi was commonly given the epithet al-Qa'im (القائم),[21][22] which can be translated as 'he who will rise,'[23] signifying his rise against tyranny in the end of time.[24] Distinctively Shia is the notion of temporary absence or occultation (opens on Wikipedia) of the Mahdi,[21] whose life has been prolonged by divine will.[25][26] An intimately related Shia notion is that of raj'a (lit. 'return'),[23][27] which often means the return to life of (some) Shia Imams, particularly Husayn ibn Ali (opens on Wikipedia), to exact their revenge on their oppressors.[23][28]

Traditions that predicted the occultation and rise of a future imam were already in circulation for a century before the death of the eleventh Imam in 260 (874 CE),[29][23] and possibly as early as the seventh-century CE.[23] These traditions were appropriated by various Shia sects in different periods,[30] including the now-extinct sects of Nawusites and Waqifites (opens on Wikipedia).[31] For instance, these traditions were cited by the now-extinct Kaysanites (opens on Wikipedia), who denied the death of Ibn al-Hanafiyya,[21][32] and held that he was in hiding in the Razwa mountains near Medina.[4] This likely originated with two groups of his supporters, namely, southern Arabian settlers and local recent converts in Iraq, who seem to have spread the notions now known as occultation and raj'a.[4] Later on, these traditions were also employed by the Waqifites (opens on Wikipedia) to argue that Musa al-Kazim (opens on Wikipedia), the seventh Imam, had not died but was in occultation.[29]

In parallel, traditions predicting the occultation of a future imam also persisted in the writings of the mainstream Shia, who later formed the Twelvers.[30][21] Based on this material, the Twelver doctrine of occultation crystallized in the first half of the fourth (tenth) century,[33] in the works of Ibrahim al-Qummi (opens on Wikipedia) (d. 919), Ya'qub al-Kulayni (opens on Wikipedia) (d. 941), and Ibn Babawayh (opens on Wikipedia) (d. 991), among others.[7] This period also saw a transition in Twelver arguments from a traditionist to a rationalist approach in order to vindicate the occultation of the twelfth Imam.[34][8]

The Twelver authors also aim to establish that the description of Mahdi in Sunni sources applies to the twelfth Imam. Their efforts gained momentum in the seventh (thirteenth) century when some notable Sunni scholars endorsed the Shia view of the Mahdi,[21][35] including the Shafi'i (opens on Wikipedia) traditionist Muhammad ibn Yusuf al-Gandji.[21] Since then, Amir-Moezzi (opens on Wikipedia) writes, there is Sunni support from time to time for the Twelvers' view of Mahdi.[35] There has also been some support for the mahdiship of the twelfth Imam in Sufi circles,[35] for instance, by the Egyptian Sufi al-Sha'rani.[21]

Before the rise of the Fatimid Caliphate, as a major Isma'ili Sh'a dynasty,[36] the terms Mahdi and Qa'im were used interchangeably for the messianic imam anticipated in Shia traditions. With the rise of the Fatimids in the tenth century CE, however, al-Qadi al-Nu'man argued that some of these predictions had materialized by the first Fatimid caliph, Abd Allah al-Mahdi Billah (opens on Wikipedia), while the rest would be fulfilled by his successors. Henceforth, their literature referred to the awaited eschatological imam only as Qa'im (instead of Mahdi).[21] In Zaydi view, imams are not endowed with superhuman qualities, and expectations for their mahdiship are thus often marginal.[21][37] One exception is the now-extinct Husaynites in Yemen, who denied the death of al-Husayn ibn al-Qasim al-Iyani and awaited his return.[21]

El-Musannef, Es-Sünen, Menâkıbü'ş-Şâfi'î, El-Fütûhâtü'l-Mekkiyye.jpg
Facsimiles from the manuscripts of Al-Musannaf, Al-Sunan, Manaqib al-Shafi'i, and Al-Futuhat al-Makkiyya regarding Al-Mahdi ("May Allah Be Pleased with Him")[38] Image: Esvc.emre, CC BY-SA 4.0, via Wikimedia Commons

Loading “Hadith Methodology and Manuscript Studies”…

Loading “In Islamic doctrine”…

Loading “Mahdi claimants”…

Loading “See also”…

Loading “Notes”…

Loading “References”…

Loading “Sources”…

Loading “External links”…

Image credits (4)