Juz 16: Al-Kahf 75 to Ṭā Hā
Section 3 of 18 · Tafsir of the Qur’an · Mufti Abdul Rahman Mangera
3. Dhul-Qarnayn: The Righteous Ruler
Allah mentions the story of Dhul-Qarnayn in response to a question posed to the Prophet Muhammad (peace be upon him). This was one of three questions that the Quraysh asked the Prophet after consulting with the People of the Book, hoping to test his prophethood:
وَيَسْأَلُونَكَ عَن ذِي الْقَرْنَيْنِ ۖ قُلْ سَأَتْلُو عَلَيْكُم مِّنْهُ ذِكْرًا
“They ask you about Dhul-Qarnayn. Say, 'I shall recite to you a narration about him.'”
The name "Dhul-Qarnayn" literally means "the possessor of two horns." While some historical opinions have attempted to identify this figure as Alexander the Great of Macedonia, this seems unlikely because Alexander was not known to be a believer in Allah, whereas the Quranic Dhul-Qarnayn was clearly a person of faith.
What distinguishes Dhul-Qarnayn in the Quranic narrative is that despite having extraordinary power and dominion, he remained steadfast in his faith and used his authority with justice, wisdom, and compassion. Allah granted him vast resources and power, yet he displayed exemplary leadership qualities guided by faith rather than personal desire.
The Quran describes three journeys of Dhul-Qarnayn. First, he traveled westward "until he reached the setting place of the sun" where he encountered a community. Then he journeyed eastward to another people. Finally, he went on a third expedition where he reached a land between two mountains and encountered a primitive people being terrorized by the tribes of Ya'juj and Ma'juj (Gog and Magog).
When these oppressed people requested Dhul-Qarnayn's help against Gog and Magog, offering payment for his services, he demonstrated his noble character:
قَالَ مَا مَكَّنِّي فِيهِ رَبِّي خَيْرٌ
“He said, 'What my Lord has given me in power is better.'”
Rather than seeking payment, he asked for their assistance in building a massive barrier constructed with iron and molten copper to protect them from their oppressors. This barrier proved impenetrable:
فَمَا اسْطَاعُوا أَن يَظْهَرُوهُ وَمَا اسْتَطَاعُوا لَهُ نَقْبًا
“So they (Gog and Magog) were not able to scale it, nor were they able to make a hole in it.”
Dhul-Qarnayn acknowledged that this barrier would remain until the appointed time decreed by Allah:
قَالَ هَٰذَا رَحْمَةٌ مِّن رَّبِّي ۖ فَإِذَا جَاءَ وَعْدُ رَبِّي جَعَلَهُ دَكَّاءَ ۖ وَكَانَ وَعْدُ رَبِّي حَقًّا
“He said, 'This is a mercy from my Lord. Then, when the promise of my Lord will come, He will make it leveled to the ground. The promise of my Lord is true.'”
According to prophetic traditions, Gog and Magog attempt daily to break through this barrier until the approach of the Day of Judgment, when Allah will permit them to emerge. They will cause great destruction on earth until their eventual destruction through divine intervention.
The story of Dhul-Qarnayn completes the four main narratives in Surah Al-Kahf, each addressing a different aspect of the tension between faith and materialism. While the People of the Cave demonstrated firmness in faith despite persecution, the owner of two gardens showed the trial of wealth, and Musa and Khidr illustrated the trial of knowledge, Dhul-Qarnayn's story presents the trial of leadership and authority.
His narrative teaches that when blessed with power and authority, the righteous leader uses these gifts in service of others, maintains humility despite strength, and acknowledges that all abilities come from Allah. Despite his vast kingdom and resources, Dhul-Qarnayn remained conscious of Allah, acted with justice, and used his power to protect the vulnerable rather than exploit them.