Because his identity is not certain, there is no reliable information about his lifespan.
- Grave
- Unknown
- Lineage (from father back)
- Not certain. Some say he was one of the kings of Himyar; differing narrations are reported about his name.
In the scriptures
Torah and Old Testament
His name is not mentioned. The two-horned ram in Daniel's vision symbolises the kings of the Medes and Persians; for this reason some propose Cyrus. Cyrus is called "anointed".
Daniel 8:3-4; Daniel 8:20; Isaiah 45:1; Ezra 1:1-4Psalms (Zabur)
Not mentioned.
Gospel and New Testament
Gog and Magog are mentioned again in the last days.
Revelation 20:7-9Quran
Makes three journeys, to the west, to the east and between two mountains, and builds a barrier.
18:83-98Common ground
The theme of Gog and Magog is common to Ezekiel 38-39, Revelation and the Quran.
Where they differ
The story of the barrier is found only in the Quran; a parallel is seen in late antique Alexander narratives. His identity is not certain.
Life in order of events
Being given power
He was given power on earth and a way to everything.
Old Testament: cf. Isaiah 45:1; cf. Daniel 8:20-21Quran 18:83-84The western journey
At the place where he saw the sun setting in a muddy spring, he found a people. He said he would punish the wrongdoer and be gentle with the believer.
Quran 18:85-88The eastern journey
He reached a people who had no shelter from the sun.
Quran 18:89-91Between the two mountains
A people who barely understood speech asked for a barrier against Gog and Magog, offering payment.
Old Testament: cf. Ezekiel 38:2Quran 18:92-94Building the barrier
He took no payment and asked for labour. He had blocks of iron piled up between the two mountains and heated, then poured molten copper over them; they could neither climb it nor pierce it.
Quran 18:95-97His humility
He said: "This is a mercy from my Lord; when my Lord's promise comes, He will level it to the ground."
New Testament: cf. Revelation 20:7-8Quran 18:98The saying of Ali
He was neither a prophet nor a king; he was a righteous servant who loved God and whom God loved.
Narration: Köksal
His three campaigns
| Campaign | The people he met | What he did |
|---|---|---|
| West | The people beside the water with black mud | Punishment for the wrongdoer, ease for the believer |
| East | Those with no shelter from the sun | The Quran gives no detail of his action |
| Between two mountains | A people who hardly understood speech | A barrier against Gog and Magog |
Quran 18:85-97
Building the barrier step by step
- He refused the tribute offered and asked for help with manpower.
- He had blocks of iron piled up until they filled the space between the two mountains.
- He had them blown with bellows until they became like fire.
- He poured molten copper over it. Quran 18:95-97
Its site is suggested to be the Derbent and Darial passes in the Caucasus, or the Iron Gate in Central Asia. It is related that the Abbasid caliph al-Wathiq sent Sallam the Interpreter to search for the barrier. Its identification with the Great Wall of China is not accepted. Narration: Ibn Khurdadhbih
His wars
It is declared that he held sway over the east and the west; the Quran gives no detail of war. Quran 18:84
Gog and Magog
It is declared that near the Last Hour their barrier will be opened and they will pour down from every height. Quran 21:96, 18:98-99
In the long hadith in Muslim, they emerge in the time of Jesus and perish through a disease sent by God. Hadith: Muslim, Tribulations
Distinguishing features
- His name means "the one with two horns (or two ages, two directions)"
Authenticity of the hadiths
- Disputed
"I do not know whether Dhul-Qarnayn was a prophet"
al-Hakim calls it sahih according to the conditions of al-Bukhari and Muslim. al-Bukhari, however, finds the mursal narration more correct.
al-Hakim, al-Bayhaqi - Sahih
"Today an opening this big has been made in the barrier of Gog and Magog"
It is sound.
al-Bukhari 3346, 3347; Muslim (text checked in the source) - Disputed
Their digging at the barrier every day
al-Albani grades it sahih. Ibn Kathir finds its chain good but considers the text munkar.
al-Tirmidhi, Ibn Majah, Ahmad
Conflicting reports
Can a hole be made in the barrier?
Kahf 97 says "they could not pierce it", whereas the hadith speaks of an opening being made. Scholars say that the verse describes the period when it was built, or that the hadith represents the approach of the tribulation. For this reason Ibn Kathir sees the digging hadith as mixed in from Ka'b al-Ahbar.
Is he Alexander?
Since Alexander of Macedon came from a polytheistic environment, Ibn Kathir, Ibn Taymiyya and Ibn Hajar reject this identification. There is no sahih hadith on this matter.

