There came a day when Allah revealed to Noah that no others would believe. Allah inspired him not to grieve for them, at which point Noah prayed that the disbelievers be destroyed. He said: 'My Lord! Leave not one of the disbelievers on the earth. If you leave them, they will mislead Your slaves, and they will beget none but wicked disbelievers." Surah 71:27
Allah accepted Noah's prayer. The case was closed, and He passed His judgment on the disbelievers in the form of a flood. Allah the Exalted ordered His worshiper Noah to build an ark with His knowledge and instructions, and with the help of angels. Almighty Allah commanded: "And construct the ship under Our Eyes and with Our Inspiration, and address Me not on behalf of those who did wrong; they are surely to be drowned." Surah 11: 37
Related Quran Ayaaths of this Hadith.
Surah 6 : Ayah 84 Surah 4 : Ayah 163 Surah 11 : Ayah 25 Surah 11 : Ayah 32 Surah 11 : Ayah 36 Surah 11 : Ayah 40"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