Surah Al-Anbya, ayah 96 (21:96)
Surah Al-Anbya · Makki · ayah 96 of 112 · in The end of time and a mercy sent
Ponder Al-Anbya 21:96 in the app →حَتَّىٰٓ إِذَا فُتِحَتْ يَأْجُوجُ وَمَأْجُوجُ وَهُم مِّن كُلِّ حَدَبٍ يَنسِلُونَ
“Until when [the dam of] Gog and Magog has been opened and they, from every elevation, descend”
Saheeh International
What does Surah Al-Anbya 21:96 mean?
A barrier will be opened, and Gog and Magog will pour over every rise; it opens only when He opens it.
Reflections
The unstoppable, stopped by a worm
Notice the grammar of the opening. Futiḥat: it was opened. The verb is passive. Gog and Magog do not break out by their own strength. The barrier is opened, and the One who opens it is not named because He does not need to be. Another surah has the builder of that barrier say: 'When the promise of my Lord comes, He will level it' (18:98).
Sahih Muslim preserves a long account from the Prophet ﷺ of what happens next. Allah tells Isa, son of Maryam, that He has brought out servants of His whom no one has the power to fight. Isa is told to take the believers to safety on the mountain. Gog and Magog pour out, as this ayah says, from every rise. They drink lakes dry.
Then comes the turn. Isa and his companions turn to Allah in earnest prayer. And Allah sends small worms into the necks of that vast host. By morning they are dead, the narration says, like the death of a single soul.
Sit with the scale of that. No human army can face that force. Yet it is ended overnight by something as small as a worm. No battle. No general's brilliance. A prayer, and a worm.
Think of a vast container ship, the length of four football pitches, stuck fast in a narrow canal. Engineers, tugs and diggers work for days. Then a spring tide lifts it free in an afternoon. Nobody on the crew can claim the credit.
The ego loves to believe that history turns on its own strength. This ayah and its explanation say otherwise. Barriers open when He opens them. Unstoppable forces stop when He stops them. He needs no army to defend Him. The believers in that account are not saved by their swords but by their turning.
Over every hump in the land
The ayah paints its picture in two words the first hearers would have seen at once. Ḥadab is raised ground: a ridge, a hillock, a rise. The commentators note it is taken from the hump of a back. The lexicons describe every hump in the land, and over every one of them a crowd pouring down.
Yansilūn (they rush down) is how they come. The early grammarians described nasalān as the gait of a wolf when it hurries: short, quick steps, low to the ground, covering distance fast. One adds that the root first meant short strides taken quickly. Another lexicon pictures a camel's winter coat coming away in tufts, slipping loose and spreading.
Put together, the ayah gives you no single front line. It gives you every horizon at once. Wherever you look there is a rise, and over every rise they come.
One of the Companions, the commentaries report, once watched a group of boys at play, leaping over one another's backs. 'This is how Gog and Magog will come out,' he said. The picture is of bodies spilling over bodies, a tide with no gaps in it.
Imagine a school playground in the last minute of the summer term. The bell goes. Children burst from every door at once, over benches, round the climbing frame, across the low wall to the field. A teacher on duty cannot track a single child. She simply stands still and lets the wave go past.
The scene is meant to overwhelm. Human beings like a threat they can map and manage. This ayah describes one they cannot. It is a picture to make the listener feel small, and to send the heart, not the eye, looking for refuge.
Signs are for preparing, not predicting
Mention Gog and Magog in some circles and the conversation turns at once to dates and maps. Who are they? Where is the wall? Has it already opened? Videos circulate with confident timelines. The narrow image is that end-time signs exist to be decoded, like a puzzle with a prize for whoever solves it first.
The Prophet ﷺ handled such knowledge very differently. Sahih al-Bukhari records his words. 'The House will still be visited for Hajj and ʿUmrah after Gog and Magog emerge.' The striking thing is what that saying assumes. Even after the most terrifying sign in this ayah, ordinary worship goes on. Pilgrims still pack their bags. People still circle the Kaʿbah.
In other words, the signs are not a reason to stop living well. They are a reason to live well now.
Picture a woman in her thirties who has just been accepted on a nursing course. A friend sends her a long video about the signs of the Hour. She stays up half the night watching it. The next morning she wonders whether there is any point starting the course, if everything is so close.
The Prophetic answer would turn her round. If people will still be making Hajj after Gog and Magog, then the wards will still need nurses next September. The signs are given to wake the heart, not to freeze the hands.
The ayah itself begins with ḥattā, 'until'. It is the end of a long sentence about people who would not turn back. Its purpose is not to supply a timetable. It is to ask the listener which side of that sentence they intend to be on when the 'until' arrives.
Two crowds, one verb
Who exactly is pouring down in this ayah? The commentators record two answers, and holding both enriches the picture.
Most said: Gog and Magog, released when the barrier opens. That is the reading the major early commentator preferred, citing the Prophet's own description of them coming out 'from every rise'.
But another early view said 'they' means all of humanity, hurrying out of their graves to the place of judgement.
That second view draws on another ayah that uses the very same verb. 'The Horn is blown, and at once they are hurrying from the graves to their Lord' (36:51). Yansilūn (they rush down) there too: the quick, low gait of creatures who cannot slow down.
The commentators show how the Quran's language links scenes. The verb that describes a terrifying human flood before the Hour is the same verb that describes all of us after it. One crowd pours over ridges towards destruction. The other pours out of the ground towards its Lord.
For the reader, that is sobering. You will not watch the second crowd from a hilltop. You will be in it. Every person who ever lived will move with that same urgent, unstoppable gait. The only question is what each of them carries.
There is no modern scene to set beside this one. It is simply worth reading the two ayat, here and in Ya Sin, side by side.
When every argument ends at once
One classical commentator records an unusual reading of the word ḥattā, until. Rather than linking it only to the ayah just before, he connects it further back. Ayah 93 described people cutting the one way into pieces among themselves. On this reading, ayah 96 tells how long the splitting lasts.
They will go on differing, he explains, never gathering on the true religion, until the Hour draws near. When it comes, the difference stops. Everyone will know that their true Master is One, and that the saving way was always the way of His oneness. A later commentator calls the link a long stretch in grammar but good in meaning.
That changes how one can carry religious disagreement. The arguments will not be settled by the cleverest debater. They will be settled by reality arriving.
Think of an awards night where, for months, critics have argued in print over who will win. Columns, podcasts, bitter exchanges. Then the presenter opens the envelope and reads one name. In that second every argument in the room ends. Some faces fall. Some light up. Nobody goes on arguing.
The Hour is that envelope, but infinitely more serious. It will not reward the best arguer. It will show what was true all along.
This gives a believer two things. First, freedom from the need to win every argument now. The truth does not depend on you defending it perfectly. Second, urgency about one's own heart. When the envelope opens, it will be too late to change your answer. The time to settle it with Allah is before the barrier opens, not after.
'Then where is the wall?'
A sincere doubter asks: the world has been mapped from space. Where is this barrier? Where are these nations? Is this not a legend dressed as prophecy?
The fair answer starts by separating layers of evidence. The Quran states that a barrier was built, that a people were held behind it, and that it will one day be opened. Authentic hadith in the two Sahihs add a few details. Beyond that, the commentaries contain many colourful reports about their numbers, their size and their customs. Several of those go back not to the Prophet but to later narrators. The commentators themselves pass them on with varying confidence.
The Quran does not give coordinates. It does not say the barrier must be visible to us now, or that its people look a certain way. It speaks of something unseen to us, and it places its opening close to the end of time.
Picture a geography student who asks her father, half teasing, why no satellite map shows the wall. He does not reach for a theory about a hidden valley. He says honestly that he does not know where it is. Then he adds that he also cannot point to the date of his own death, yet he is certain it is coming. Some truths are known by the word of the One who told us, not by a map.
What remains open is genuine: their exact identity, location and timing. A believer can hold those questions without embarrassment. What is not open is the claim at the heart of the ayah. History has an end, and it is in His hands.
A common misreading
Often heard: End-time signs are puzzles to decode: dates, maps and timelines.
Closer to the ayah: The signs wake the heart; the Prophet said Hajj and ʿUmrah will still be made after Gog and Magog emerge, so ordinary worship and work go on.
Words to know
فُتِحَتْ futiḥat · the root f-t-ḥ
'Was opened': the lexicons picture a door unlocked. Commentators note a word is understood here: it is their barrier that is opened.
Questions to sit with
- What barrier in your life are you relying on as if you were the one holding it shut?
- When you hear about the signs of the Hour, what changes in how you spend tomorrow?
- Which argument are you trying to win now that only the Hour will settle?
Live it today
Next time an end-times video reaches you, close it and do one ordinary good deed you had planned. Ask Allah to make you among those who turn to Him when everything else is overwhelming.
Echoes in the Quran
- Surah Al-Kahf 18:98In Al-Kahf the builder of that barrier says it himself: when my Lord's promise comes, He will level it.
- Surah Ya-Sin 36:51The same verb for pouring down is used in Ya-Sin of people hurrying out of their graves at the Horn.
Come back to this ayah when you feel...
when end-times predictions spread · when the news fills you with dread · when the powerful seem unstoppable
The classical tafsir of this ayah
Tafsir al-Jalalayn · Tafsir Ibn Kathir (abridged) · Tafsir al-Tabari (abridged) · Tafsir al-Qurtubi (abridged) · Tafsir al-Sa'di · Tafsir al-Razi (abridged)
Read the whole surah
The night the grazing stops: a reflection on all of Surah Al-Anbya, from its first ayah to its last.
Ponder Al-Anbya 21:96 in the app →In the app: the Mushaf, every word with its root, side-by-side tafsir, and your own private reflections. Free, no account, works offline.