Surah Al-'Ankabut, ayah 38

29:38

وَعَادٗا وَثَمُودَاْ وَقَد تَّبَيَّنَ لَكُم مِّن مَّسَٰكِنِهِمۡۖ وَزَيَّنَ لَهُمُ ٱلشَّيۡطَٰنُ أَعۡمَٰلَهُمۡ فَصَدَّهُمۡ عَنِ ٱلسَّبِيلِ وَكَانُواْ مُسۡتَبۡصِرِينَ ٣٨

Wa'ādan wathamūda waqat tabayyana lakum mim masākinihim wazayyana lahumush-shaytānu a'mālahum fasaddahum 'anis-sabīli wakānū mustabsirīn

And [We destroyed] ʿAad and Thamūd, and it has become clear to you from their [ruined] dwellings. And Satan had made pleasing to them their deeds and averted them from the path, and they were endowed with perception.