Dalil

Quran An-Naml 27:45

وَلَقَدۡ أَرۡسَلۡنَآ إِلَىٰ ثَمُودَ أَخَاهُمۡ صَٰلِحًا أَنِ ٱعۡبُدُواْ ٱللَّهَ فَإِذَا هُمۡ فَرِيقَانِ يَخۡتَصِمُونَ

Translation

And We had certainly sent to Thamūd their brother Ṣāliḥ, [saying], "Worship Allāh," and at once they were two parties conflicting.