﴿حَتَّى إِذَا بَلَغَ بَيْنَ السَّدَّيْنِ وَجَدَ مِن دُونِهِمَا قَوْماً لَّا يَكَادُونَ يَفْقَهُونَ قَوْلاً﴾ (الكهف: 93)
93 - Until he reached between two mountains, he found a nation, which does not understand the speech of people, and people do not understand their speech because of their weird language.
﴿قَالُوا يَا ذَا الْقَرْنَيْنِ إِنَّ يَأْجُوجَ وَمَأْجُوجَ مُفْسِدُونَ فِي الْأَرْضِ فَهَلْ نَجْعَلُ لَكَ خَرْجاً عَلَى أَن تَجْعَلَ بَيْنَنَا وَبَيْنَهُمْ سَدّاً﴾ (الكهف: 94)
94 - They said to him through their interpreter: O Dhul-Qarnayn, the tribes of Gog and Magog are corrupting our land by killing, plunder, and harm, and do not leave anything but ruined; so will we gather you huge sums of money to build a barrier to prevent them from reaching us?
﴿قَالَ مَا مَكَّنِّي فِيهِ رَبِّي خَيْرٌ فَأَعِينُونِي بِقُوَّةٍ أَجْعَلْ بَيْنَكُمْ وَبَيْنَهُمْ رَدْماً﴾ (الكهف: 95)
95 - Dhul-Qarnayn said to them: The kingdom and power which Allah has given me is better than the money you accumulate for me, so leave this aside and help me with your power and material to build a strong barrier and an immune fort between you and them.
﴿آتُونِي زُبَرَ الْحَدِيدِ حَتَّى إِذَا سَاوَى بَيْنَ الصَّدَفَيْنِ قَالَ انفُخُوا حَتَّى إِذَا جَعَلَهُ نَاراً قَالَ آتُونِي أُفْرِغْ عَلَيْهِ قِطْراً﴾ (الكهف: 96)
96 - Bring me the huge pieces of iron. They brought them to him, and he started to build a barrier between the two mountains until he blocked the way between the two mountains then he said to the labors: Blow into fire with bellows. When iron became red like fire, he said to them: Bring me melted cupper to pour it on iron.
﴿فَمَا اسْطَاعُوا أَن يَظْهَرُوهُ وَمَا اسْتَطَاعُوا لَهُ نَقْباً﴾ (الكهف: 97)
97 - Gog and Magog could not clime the dam because of its height and smoothness nor they could breach it or drill it because of its solidity and firmness.
﴿قَالَ هَذَا رَحْمَةٌ مِّن رَّبِّي فَإِذَا جَاء وَعْدُ رَبِّي جَعَلَهُ دَكَّاء وَكَانَ وَعْدُ رَبِّي حَقّاً﴾ (الكهف: 98)
98 - Dhul-Qarnayn (may Allah bestow mercy on him) said in humbleness, thanking Allah for what he has granted him: This dam is a blessing from Allah to the people of this country and to the people who will come after them. However, when the promise of my Lord comes on the Day of Resurrection, or at the emergence of Gog and Magog, Allah will destroy it and level it to the ground; indeed the promise of Allah is confirmed and has no doubt.
It was said that the traces of that dam still exist in Georgia in the opening of Daryal in Caucasian mountains which the savage tribes used to raid over the territories of southern Caucasians, the east of the Black sea, and the west of Caucasian sea. And Allah knows the best.