His people disputed with him. He said: "Do you dispute with me concerning Allah while He has guided me and I fear not those whom you associate with Allah in worship. (Nothing can happen to me) except when my Lord (Allah) wills something. My Lord comprehends in His Knowledge all things. Will you not then remember?"
"And how should I fear those whom you associate in worship with Allah (though they can neither benefit nor harm), while you fear not that you have joined in worship with Allah things for which He has not sent down to you any authority. (So) which of the two parties has more right to be in security? If you but know."
It is those who believe (in the Oneness of Allah and worship none but Him Alone) and confuse not their belief with Zulm (wrong, i.e., by worshipping others besides Allah), for them (only) there is security and they are the guided. And that was Our Proof which We gave Abraham against his people. We raise whom We will in degrees. Certainly your Lord is All-Wise, All-Knowing. Surah 7: 80-83
In that debate, Abraham clarified to his people that these celestial bodies do not serve as deities and cannot be worshipped as partners with Allah the Almighty. Indeed, these bodies are created things, fashioned, controlled, managed and made to serve. They appear sometimes and disappear at others, going out of sight from our world. However, Allah the Almighty does not lose sight of anything, and nothing can be hidden from Him. He is without end, everlasting without disappearance. There is no other deity but Allah.
Abraham made clear to them, first, that the celestial bodies are unworthy of worship and, second, that they are among the signs of Allah. Almighty Allah commanded: And from among His Signs are the night and the day, and the sun and the moon. Prostrate not to the sun nor to the moon, but prostrate to Allah Who created them, if you (really) worship Him. Surah 41: 37
Related Quran Ayaaths of this Hadith.
Surah 6 : Ayah 83 Surah 4 : Ayah 163 Surah 14 : Ayah 35 Surah 60 : Ayah 4 Surah 21 : Ayah 51 Surah 21 : Ayah 52 Surah 3 : Ayah 65"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