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:41:17

And as for Thamud, We guided them, but they preferred blindness over guidance, so the thunderbolt of humiliating punishment seized them for what they used to earn.  

And as for Thamūd, We offered them guidance, We pointed out to them the path of guidance, but they preferred blindness, they chose disbelief ˹as opposed˺, to guidance. So the thunderbolt of the humiliating chastisement seized them on account of what they used to earn.
القرآن:٤١:١٧

وَأَمَّا ثَمُودُ فَهَدَيْنَاهُمْ فَاسْتَحَبُّوا الْعَمَىٰ عَلَى الْهُدَىٰ فَأَخَذَتْهُمْ صَاعِقَةُ الْعَذَابِ الْهُونِ بِمَا كَانُوا يَكْسِبُونَ  

{وأما ثمود فهديناهم} بيّنا لهم طريق الهدى {فاستحبوا العمى} اختاروا الكفر {على الهدى فأخذتهم صاعقة العذاب الهون} المهين {بما كانوا يكسبون}.