Ibn Umar narrated that while the Prophet Muhammad was passing by Thamud's houses on his way to the battle of Tabuk, he stopped together with the people there. The people fetched water from the wells from which the people of Thamud used to drink. They prepared their dough (for baking) and filled their water-skins from it (the water from the wells). The Prophet of Allah ordered them to empty the water-skins and give the prepared dough to the camels. Then he went away with them until they stopped at the well from which the she-camel (of Salih) used to drink. He warned them against entering upon the people that had been punished, saying: "I fear that you may be affected by what afflicted them; so do not enter upon them."
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