Dhul-Qarnayn is a just and powerful ruler mentioned in the Holy Qur’an, whose story is narrated in verses 83–98 of Surah Al-Kahf. According to the Qur’an, Allah granted Dhul-Qarnayn great power, resources, and authority, as well as the means to travel across the earth. He journeyed to different lands, encountered various peoples, and governed them with justice.

Dhul-Qarnayn first travelled westward, reaching the place where the sun sets, where he encountered a people. He administered justice among them, declaring that those who committed wrongdoing would be punished, while those who performed righteous deeds would be rewarded. He then travelled eastward, reaching the place where the sun rises, where he encountered a people who had little means of protection from the sun’s rays. Afterwards, he continued his journey and reached a region situated between two mountains. The inhabitants of this region asked him to protect them from the hostile people of Gog and Magog (Ya’juj and Ma’juj). Dhul-Qarnayn accepted their request and ordered the construction of a strong barrier using iron blocks and molten copper, thereby blocking the passage of Gog and Magog.

The term “Dhul-Qarnayn” is an Arabic expression meaning “the Two-Horned One” or “the Possessor of Two Horns.” Scholars have proposed various theories regarding his historical identity. Some researchers associate him with Alexander the Great, while others identify him with Cyrus II the Great, the ancient Persian ruler. However, the Qur’an focuses not on establishing his precise historical identity, but rather on his just leadership, his use of the power and resources granted by Allah for the benefit of people, and his struggle against oppression.