The Mahdi in the Quran: the Science of the Hour and the Amr of Allah

The name “Mahdi” does not appear as such in the Quran: it is the hadiths that announce him. But several verses speak of what he will bring at the end of time: the Hour, the Amr of Allah and the Furqan.
This article brings together the verses and hadiths quoted on this site, according to the reading given of them by Sheikh Sharif Ali Dani: the Mahdi is the “Master of Time”, the one who will come with the science of the Hour.
⏱ Reading time: about 6 min
Contents
Is the Mahdi mentioned in the Quran?
The word “Mahdi” does not appear in the text of the Quran. The Mahdi is announced by the hadiths as the one who will come to deliver the world at the end of time. The Messenger of Allah (peace and blessings be upon him and his family) said:
“The Hour will not rise until one of us [the Mahdi] rises: the Upholder of truth, and this will be accomplished when Allah, the Noble and the Exalted, permits it. Thus whoever obeys him will be saved, and whoever opposes him will be destroyed…” (Wasâ’il ash-Shî‘a, volume 7, page 325, hadith 6)
This hadith links the Mahdi directly to the Hour (As-Sâ‘a). Now the Hour is mentioned very many times in the Quran, under several names: the Hour, the Amr and the Furqan. It is through these verses that the Quran speaks of the mission of the Mahdi.
What is the “science of the Hour”?
In the surah The Ornaments (Az-Zukhruf), God (swt) says:
“And truly there is a science (‘ilm) of the Hour. So have no doubt about it, and follow me. This is a straight path” (Quran 43:61)
The verse uses the Arabic word ‘ilm, which means “science”. Imam ‘Ali (as) also says:
“The science of the Ghayb (hidden things) is the science of the Hour” (Nahj al-Balâgha, chapter 1, page 90, number 5)
According to the teaching presented on this site, the Hour is therefore neither the Resurrection nor the end of the world: it is a hidden science, and it is with this science that the Mahdi will come at the end of time.

Why is the Mahdi called “Master of Time”?
The Mahdi is called Sahib az-Zaman, the “Master of Time”. Who else could bring a “science of the Hour”, if not the Master of Time?
The Hour is a part of Time (zaman). Here the Quran designates the whole by the part, as one says “Paris has decided” to mean “France has decided”. The science of the Hour is therefore the science of Time: the science of the Mahdi.
Why is he called “Master of the Amr”?
The Hour bears another name in the Quran: the Amr of Allah, usually translated as “order” or “command”.
“The Amr of Allah has come before; so do not seek to hasten it” (Quran 16:1)
The Tafsir al-Jalalayn comments on the word Amr in this verse, saying: “It is the Hour.” Ibn Arabi confirms this in his Tafsir, and explains the end of the verse, “so do not seek to hasten it”, by saying that it is the Mahdi who will make the Amr known.
That is why the Mahdi is also called Sahib al-Amr, the “Master of the Amr”. Imam Muhammad al-Baqir (as) said:
“Al-Mahdi was so named because he will guide to the secret Amr” (Bihâr al-Anwâr, volume 97, page 117)
He also declared that, had he lived in the time of the Mahdi, he “would have served the Master of the Amr” (Bihâr al-Anwâr, volume 52, page 234).
The verb of the verse, atâ (to come), is in the past tense: the Amr has already come, in the time of Moses, and it will return with the Master of the Amr.
With what science will the Mahdi come?
In every age, God sent His messengers with wonders surpassing what dominated their time. What dominates our age is technology. According to this site, the Mahdi will therefore come with a science that will encompass and surpass all current sciences. Imam as-Sâdiq (as) declared:
“Science and knowledge have twenty-seven letters. All that the divine Prophets brought to people represents only two letters […]. When the Mahdi comes, he will explain the other twenty-five letters” (Bihâr al-Anwâr, volume 51, page 336)
This science will make it possible to build what the books on the life of the Prophet (Sîra) call the “Prophetic Machine” (Âlat an-Nubuwwa).
What will the Mahdi accomplish? The Furqan and the last stage
The third name of the Hour in the Quran is the Furqan. It was given to Moses:
“When We gave Moses the Book and the Furqan” (Quran 2:53)
“We have already given Moses and Aaron the Furqan, as well as a light and a reminder for the God-fearing” (Quran 21:48)
According to the teaching of Sheikh Sharif Ali Dani, Moses and his people built the Furqan, but without reaching its last stage. The Mahdi, a descendant of the Prophet Muhammad (peace and blessings be upon him and his family), will build it again and carry it through to its end: to bring forth the divine Spirit, defeat Iblîs and deliver humanity.
“That last abode, We reserve it for those who seek neither arrogance on earth nor corruption” (Quran 28:83)

In summary
- Is the Mahdi mentioned in the Quran? Not by name. He is announced by the hadiths, and the Quran speaks of what he will bring: the Hour, the Amr and the Furqan.
- What is the science of the Hour? A hidden science, mentioned in the Quran (43:61), which the Mahdi will bring at the end of time.
- What are his titles? Sahib az-Zaman, the Master of Time, and Sahib al-Amr, the Master of the Amr.
- What will he accomplish? According to Sheikh Sharif Ali Dani, the Furqan already given to Moses, up to its last stage.
To go further
- What Does “the Hour” Mean in the Quran?
- The Hour and the Amr of Allah Linked to Al-Mahdi: the full article.
- The Meaning of “Furqan” in the Quran
- The Beast of the Earth (Dabbat al-Ard) in the Quran and the Hadiths
On video: