Surah Al-Kahf (الكهف) · verse 97 (Meccan · Juz 16 · page 303)
فَمَا ٱسْطَٰعُوٓا۟ أَن يَظْهَرُوهُ وَمَا ٱسْتَطَٰعُوا۟ لَهُۥ نَقْبًا ﴿97﴾
التفسير الميسر
فما استطاعت يأجوج ومأجوج أن تصعد فوق السد؛ لارتفاعه وملاسته، وما استطاعوا أن ينقبوه من أسفله لبعد عرضه وقوته
Sahih International
So Gog and Magog were unable to pass over it, nor were they able [to effect] in it any penetration
Marmaduke Pickthall
And (Gog and Magog) were not able to surmount, nor could they pierce (it)
Abdullah Yusuf Ali
Thus were they made powerless to scale it or to dig through it