Surah Al-Ankaboot

29:36

وَإِلَىٰ مَدْيَنَ أَخَاهُمْ شُعَيْبًۭا فَقَالَ يَٰقَوْمِ ٱعْبُدُوا۟ ٱللَّهَ وَٱرْجُوا۟ ٱلْيَوْمَ ٱلْءَاخِرَ وَلَا تَعْثَوْا۟ فِى ٱلْأَرْضِ مُفْسِدِينَ

And to Madyan [We sent] their brother Shu'ayb, and he said, "O my people, worship Allah and expect the Last Day and do not commit abuse on the earth, spreading corruption."

Tafsir 29:36

I sent to the people of Madyan their brother in lineage, Shu‘ayb (peace be upon him). He said: My people, worship Allah alone, and have hope by your worshipping Him for reward on the Last Day. Do not spread corruption on earth by committing and spreading sins.