Allah the Almighty revealed: And (remember) when your Lord brought forth from the children of Adam, from their loins, their seed (or from Adam's loin his offspring) and made them testify as to themselves (saying): "Am I not your Lord?" They said: "Yes! We testify," lest you should say on the Day of Resurrection: "Verily, we have been unaware of this." Or lest you should say: "It was only our fathers aforetime who took others as partners in worship along with Allah, and we were (merely their) descendants after them; will you then destroy us because of the deeds of men who practiced Al-Batil (i.e. polytheism and committing crimes and sins, invoking and worshipping others besides Allah)?" Thus do We explain the Ayat (proofs, evidences, verses, lessons, signs, revelations, etc.) in detail, so that they may turn (unto the truth).' Surah 7: 172-174
Adam's progeny declared: "Our Lord, we bear witness that You are our Lord; we have no other Lord but Allah." Allah raised their father Adam, and he looked at them and saw those of them who were rich, those who were poor, those who had good forms and those who did not. Adam said: "O Allah! I wish You to make Your servants equal." Allah replied: "I love being thanked." Adam saw among the prophets like lamps among his progeny.
Related Quran Ayaaths of this Hadith.
Surah 2 : Ayah 31 Surah 2 : Ayah 33 Surah 2 : Ayah 34 Surah 2 : Ayah 35 Surah 2 : Ayah 37 Surah 7 : Ayah 11 Surah 7 : Ayah 19 Surah 7 : Ayah 26 Surah 7 : Ayah 27 Surah 7 : Ayah 31 Surah 7 : Ayah 35 Surah 3 : Ayah 33 Surah 3 : Ayah 59 Surah 5 : Ayah 27"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