Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:89:9

And ˹with˺ Thamud, who carved out the rocks in the valley?  

and Thamūd, who hollowed, hewed, the rocks (sakhr is the plural of sakhra) in the valley, the Wādī al-Qurā, ˹rocks˺ which they used as dwellings,
القرآن:٨٩:٩

وَثَمُودَ الَّذِينَ جَابُوا الصَّخْرَ بِالْوَادِ  

{وثمود الذين جابوا} قطعوا {الصخر} جمع صخرة واتخذوها بيوتا {بالواد} وادي القرى.