And there were in the city nine men (from the sons of their chiefs), who made mischief in the land, and would not reform. They said: "Swear one to another by Allah that we shall make a secret night attack on him and his household, and afterwards we will surely say to his near relatives: 'We witnessed not the destruction of his household, and verily! We are telling the truth." Surah 27: 48-49
"So they plotted a plot, and We planned a plan, while they perceived not." Then see how was the end of their plot! Verily! We destroyed them and their nation, all together. These are their houses in utter ruin, for they did wrong. Verily, in this is indeed an Ayah (a lesson or a sign) for people who know. And We saved those who believed, and used to fear and obey Allah. Surah 27: 50-53
Allah saved Salih and his followers from their wicked plans. Heavy-hearted, they left the evil-doers and moved to another place.
Related Quran Ayaaths of this Hadith.
Surah 7 : Ayah 73 Surah 7 : Ayah 75 Surah 7 : Ayah 79 Surah 11 : Ayah 61 Surah 11 : Ayah 62 Surah 11 : Ayah 65 Surah 11 : Ayah 66 Surah 11 : Ayah 89 Surah 26 : Ayah 142 Surah 26 : Ayah 158 Surah 54 : Ayah 27 Surah 27 : Ayah 45 Surah 27 : Ayah 46"When a person dies, his works end, except for three: ongoing charity, knowledge that is benefited from, and a righteous child who prays for him."
Prophet Mohammed (PBUH)
"The best of what a man leaves behind are three: a righteous child who supplicates for him, ongoing charity the reward of which reaches him, and knowledge that is acted upon after him."
Sunan Ibn Mājah
"Every day two angels come down from Heaven and one of them says, 'O Allah! Compensate every person who spends in Your Cause,' and the other (angel) says, 'O Allah! Destroy every miser.'"
Sahih Bukhari