When he came to Succoth (Sahur), he built a house for himself and shades for his beasts. Then he passed by Jerusalem, the village of Shechem, and camped before the village. He bought a farm from Shechem Ibn Hamor with one hundred goats and built an altar, which he called Ayl, as Allah commanded him. He built the altar where Jerusalem stands today and later Solomon son of David (PBUT) rebuilt it. It is in the place of the stone which he had earlier annointed with oil, as was mentioned before.
Related Quran Ayaaths of this Hadith.
Surah 6 : Ayah 84 Surah 4 : Ayah 163 Surah 37 : Ayah 112 Surah 37 : Ayah 113 Surah 38 : Ayah 45 Surah 21 : Ayah 72 Surah 6 : Ayah 84 Surah 4 : Ayah 163"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