Aslam

Surah Al-Fajr — 89:9
وَثَمُودَ ٱلَّذِينَ جَابُواْ ٱلصَّخۡرَ بِٱلۡوَادِ
and Thamûd who carved ˹their homes into˺ the rocks in the ˹Stone˺ Valley;

Commentary

And do you not see what your Lord did with the Thamūd i.e. the tribe of Saleh, who would carve the stones of the mountains, making houses out of them.

Read Tafsir Ibn Kathir