Surah Ash-Shams

91:11

كَذَّبَتْ ثَمُودُ بِطَغْوَىٰهَآ

Thamud denied [their prophet] by reason of their transgression,

Tafsir 91:11

After Allah mentions the loss of the one who thrust his soul secretly into sins, He mentions the Thamūd as an example of that, saying: The Thamūd rejected their Prophet Saleh due to their transgressing the limits in committing sins and disobedience.