Surah Al-Hijr

15:82

وَكَانُوا۟ يَنْحِتُونَ مِنَ ٱلْجِبَالِ بُيُوتًا ءَامِنِينَ

And they used to carve from the mountains, houses, feeling secure.

Tafsir 15:82

They used to carve out dwellings in the rocks of the mountains in which they lived safe from that which they feared.