After Adam had learned the names of all things, along with their properties and uses, Allah presented them to the angels and said: "Tell Me the names of these if you are truthful." Surah 2:31 The angels admitted their inability: "Glory be to You, we have no knowledge except what You have taught us. Verily, it is You, The All-Knowing, The All-Wise. " Surah 2:32
Allah Almighty then turned to Adam: "O Adam! inform them of their names," and when he had informed them of their names, He said: "Did I not tell you that I know the Ghaib (unseen) in the heavens and the earth, and I know what you reveal and what you have been concealing?" Surah 2:33
Allah wanted the angels to know that He knew of their astonishment when He had told them about the creation of Adam and that He also knew of their confusion which they had not revealed, as well as what Iblis had concealed of his disobedience and ingratitude.
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