Imam Mahdi is the rightly guided leader the Prophet (peace be upon him) foretold — a man from his own family who will appear near the end of time and fill the earth with justice after it has been filled with oppression.
The question everyone asks is when. The honest answer is the one this article will keep returning to: nobody knows, and anyone who tells you otherwise is guessing.
What we do have is a set of narrated signs, a described sequence, and a long history of people who got this badly wrong. This guide covers all three, with every hadith graded and linked so you can check it.
Quick Answer
- Imam Mahdi is a future man from the family of the Prophet (peace be upon him), from the descendants of Fatimah (may Allah be pleased with her). His name will be Muhammad and his father’s name Abdullah.
- No date can be known. The timing of the Hour and its signs belongs to Allah alone. Every historical attempt to name a year has failed.
- The word “Mahdi” does not appear in the Qur’an. The belief rests on hadith — mainly in Sunan Abi Dawud, Tirmidhi and Ibn Majah, several graded sahih or hasan.
- No hadith naming the Mahdi appears in Sahih al-Bukhari or Sahih Muslim. Some events later associated with him are in Muslim, but without naming him.
- He will appear at a time of widespread oppression, be pledged allegiance in Makkah, rule for roughly seven years, and Isa (peace be upon him) will descend during his time.
Who Is Imam Mahdi?
Al-Mahdi means “the rightly guided one.” He is not a prophet, and he brings no new law. He is a righteous man raised up by Allah to restore justice in the final stretch of history.
Three narrations establish his identity.
His lineage. Umm Salamah (may Allah be pleased with her) reported that the Prophet (peace be upon him) said:
“The Mahdi will be of my family, of the descendants of Fatimah.”
— Sunan Abi Dawud 4284, graded Sahih by al-Albani
His name. Ibn Mas’ud (may Allah be pleased with him) reported:
“If only one day of this world remained, Allah would lengthen that day until He raised up in it a man who belongs to me, or to my family, whose name is the same as my name and whose father’s name is the same as my father’s name — who will fill the earth with equity and justice as it has been filled with oppression and tyranny.”
— Sunan Abi Dawud 4282, graded Hasan Sahih by al-Albani
So: Muhammad ibn Abdullah, of the house of the Prophet (peace be upon him) through Fatimah.
His appearance and reign. Abu Sa’id al-Khudri (may Allah be pleased with him) reported:
“The Mahdi is of my stock, with a broad forehead and a prominent nose. He will fill the earth with equity and justice as it was filled with oppression and tyranny, and he will rule for seven years.”
— Sunan Abi Dawud 4285, graded Hasan by al-Albani
Notice what these narrations do not say. They give no date, no century, no political programme, and no instruction to search for him.
When Will Imam Mahdi Come?
No one knows. Not the year, not the decade, not the century.
This is not evasion — it is the position the evidence forces. The Qur’an is explicit that knowledge of the Hour rests with Allah alone, and the Prophet (peace be upon him) himself, when asked directly by Jibril about the Hour, replied that the one questioned knew no more than the questioner.
There is a second reason for caution. In the hadith of Ibn Mas’ud above, the Mahdi’s arrival is tied to a condition — an earth filled with oppression and tyranny. That is a description of a state of the world, not a countdown. Every generation of Muslims has been able to look around and conclude that the condition was met. Every generation so far has been wrong.
What we can say with confidence is the order of events, because that is narrated. The Mahdi appears; the Dajjal emerges; Isa (peace be upon him) descends and kills the Dajjal; Yajooj and Majooj are released. Since the Dajjal has not appeared and Isa has not descended, the sequence has not begun.
Signs of the Mahdi’s Arrival
The narrated signs fall into two groups, and the difference matters.
Signs from well-graded narrations
- A time of widespread injustice. The earth is “filled with oppression and tyranny” before he appears — the recurring phrase across the narrations.
- He does not seek the position. He is recognised and pledged allegiance to, rather than campaigning for leadership.
- The pledge takes place in Makkah, narrated as being between the Rukn (the corner of the Ka’bah) and the Maqam of Ibrahim.
- An army is sent against him and swallowed by the earth. Umm Salamah reported the Prophet (peace be upon him) saying that a seeker of refuge would take refuge at the Sacred House, an army would be sent against him, and “when they are at Bayda, a plain of the earth, they will be swallowed up.” She asked about those forced to march unwillingly; he said they would sink with them but be raised on the Day of Resurrection according to their intentions — Sahih Muslim 2882a.
- He rules for about seven years (Abu Dawud 4285; some narrations say nine), with justice and abundant provision.
- Isa (peace be upon him) descends during his time. Jabir (may Allah be pleased with him) reported that when Isa descends, the Muslims’ commander will invite him to lead the prayer, and Isa will decline, saying: “No — some of you are commanders over others, as an honour from Allah to this Ummah” — Sahih Muslim 156.
An important honesty note on the last two. Neither the Sahih Muslim narration about the swallowed army nor the one about Isa and the commander actually names the Mahdi. Scholars have connected them to him on the basis of other narrations that do. That connection is reasonable and widely held — but it is an interpretation, not an explicit text, and you should know the difference.
Signs commonly cited but weakly narrated
- Black banners from Khurasan. Very widely quoted, and the narrations are largely weak, with some judged fabricated. These reports have a troubling modern history: armed groups have used them to claim legitimacy. Treat them with real caution.
- An eclipse of the sun and moon in Ramadan on specific nights. The narration is weak, and the astronomical claim it is usually paired with does not hold.
- Specific years, wars or named countries. No authentic narration supplies these.
The Long History of Getting This Wrong
Because “when?” is the question people most want answered, the Muslim world has produced a steady line of Mahdi claimants and date-setters. The record is unbroken: every one of them has been wrong.
Movements have been founded on such claims; some seized cities; some caused significant bloodshed. In one of the most documented modern cases, an armed group seized the Grand Mosque in Makkah in 1979 proclaiming that one of their number was the Mahdi. The siege killed hundreds. He was not the Mahdi.
This history is the strongest practical argument for restraint. The narrations describe a man whom people will recognise, who does not seek power, and whose arrival is confirmed by events no one could stage — an army swallowed by the earth, a prophet descending from the sky. A Mahdi who has to persuade you with an argument is not the one described.
The scholarly instinct here is simple: believe what was narrated, do not attach it to any living person, and do not name a date.
What the Scholars Say About the Evidence
Being straight about the evidence strengthens the belief rather than weakening it.
The word “Mahdi” is not in the Qur’an. The belief rests entirely on hadith.
None of the hadith naming the Mahdi are in Bukhari or Muslim. They are found in Sunan Abi Dawud — which devotes an entire book, Kitab al-Mahdi, to the subject — as well as Tirmidhi, Ibn Majah and Musnad Ahmad. Several are graded sahih or hasan, as shown above.
Some scholars questioned individual chains. Ibn Khaldun, in his Muqaddimah, examined many of the Mahdi narrations and criticised a number of them. His critique is often quoted today as though he rejected the belief outright, which overstates it, and later scholars responded to his analysis in detail.
The majority position is that although individual reports vary in strength, the body of narrations taken together — from numerous Companions through independent chains — reaches the level of authenticity that establishes the belief. Scholars have described this corpus as mutawatir in meaning.
How central is it? Belief in the Mahdi is part of what has been transmitted about the end times. It is not one of the six articles of faith, and scholars have not treated denial of it the way they treat denial of a pillar. If you want a ruling on that for your own situation, ask a qualified scholar rather than an article.
The Sunni and Shia Understandings Are Different
This is a genuine and significant theological difference, and it is worth stating plainly and without heat.
| Sunni understanding | Twelver Shia understanding | |
|---|---|---|
| Who he is | A future man, not yet born | Muhammad ibn al-Hasan al-Askari, the twelfth Imam |
| When he lived | Has not yet been born | Born in Samarra in 869 CE |
| Present state | Does not yet exist | Alive, in ghayba (occultation) |
| His role | A righteous leader and reformer; not infallible, not a prophet | A divinely appointed and infallible Imam |
| What happens | He appears, is pledged allegiance, rules with justice | He reappears from occultation |
Both traditions expect a Mahdi who fills the earth with justice, and both link his appearance to the descent of Isa (peace be upon him). But the identification of the person is not the same belief, and it should not be blurred into one.
This article is written from the Sunni position. Readers from either tradition with questions about their own school should take them to a qualified scholar within it.
What This Means for You
The narrations about the Mahdi were not given to us so we could calculate.
- Your own hour is closer than the Hour. Whether the Mahdi comes in your lifetime is unknown; that your life ends is not.
- The condition for his arrival is a description of us. An earth filled with oppression is not a weather report. The narration invites self-examination, not spectating.
- Guard against manipulation. Mahdi expectation has been used to recruit, to justify violence, and to extract money. Knowing what the narrations actually say is protection.
- The work is unchanged. Prayer, honesty, family, seeking knowledge. If the Mahdi arrives tomorrow, that is what he would find you doing; if he does not, that is still what you were asked to do.
Frequently Asked Questions
Who is Imam Mahdi in Islam?
He is a rightly guided leader foretold by the Prophet (peace be upon him): a man from his family, a descendant of Fatimah (may Allah be pleased with her), named Muhammad ibn Abdullah, who will appear near the end of time and fill the earth with justice after it has been filled with oppression. He is not a prophet and brings no new law.
When will Imam Mahdi come?
No one knows. No authentic narration gives a year, a century, or a calculable timeline, and knowledge of the Hour belongs to Allah alone. What is narrated is the sequence: the Mahdi appears, the Dajjal emerges, and Isa (peace be upon him) descends and kills him.
Is Imam Mahdi already born?
According to the Sunni understanding, no — he is a future person not yet born. Twelver Shia Muslims believe he was born in 869 CE and is in occultation. This is one of the clearest differences between the two traditions.
What are the signs of Imam Mahdi’s arrival?
The well-narrated signs include widespread oppression before his appearance, allegiance pledged to him in Makkah between the Rukn and the Maqam, an army sent against him being swallowed by the earth at Bayda (Sahih Muslim 2882a), a reign of about seven years, and the descent of Isa (peace be upon him) during his time.
Is Imam Mahdi mentioned in the Quran?
No. The word does not appear in the Qur’an. The belief is established through hadith, principally in Sunan Abi Dawud, Jami’ at-Tirmidhi, Sunan Ibn Majah and Musnad Ahmad, several of which are graded sahih or hasan.
Are the Mahdi hadith authentic?
Individual reports vary. None naming him appear in Bukhari or Muslim, and some chains were criticised — Ibn Khaldun’s review is the best-known example. The majority position among scholars is that the narrations taken collectively, coming from many Companions through independent chains, are strong enough to establish the belief.
What about the black banners from Khurasan?
These narrations are widely circulated but largely weak, and some have been judged fabricated. They have also been used by armed groups to claim legitimacy. They should not be relied upon.
Will Imam Mahdi and Isa (peace be upon him) appear at the same time?
Yes, their times overlap. Sahih Muslim 156 describes Isa descending and declining to lead the prayer because the Muslims already have a commander. Most scholars identify that commander as the Mahdi, though the hadith itself does not name him.
Learn the Sources for Yourself
The strongest protection against false claims is knowing the texts. A reader who can check a hadith’s grading, or read Surah al-Kahf in Arabic and understand it, is very hard to mislead.
Al-Ilm Academy offers one-to-one online Quran, Tajweed and Islamic studies classes with qualified male and female teachers, at times that fit around work and school. Your first class is free.
👉 Book your free trial class at Al-Ilm Academy and build the knowledge that lets you check things yourself, in shā’ Allah.
Want to Master Quran Recitation & Tajweed Live?
Join Al-Ilm Academy today and learn 1-on-1 with Ijazah-certified male and female tutors tailored to your schedule.
Reviewed by Al-Ilm Academic Panel
Onais Khan & Certified Senior Scholars
This guide was produced and reviewed by certified Quran reciters and Arabic linguists at Al-Ilm Academy to ensure authentic Islamic guidance.