Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:11:36

And it was revealed to Noah that, "No one will believe from your people except those who have already believed, so do not be distressed by what they have been doing.  

And it was revealed to Noah that: ‘None of your people will believe except he who has already believed. Do not be distressed, grieved, because of what they do, in the way of idolatry. So, he ˹Noah˺ invoked God against them with the words: My Lord, leave not ˹one of the disbelievers˺ upon the earth ˹Q. 71:26˺. God responded to this invocation of his and said:
القرآن:١١:٣٦

وَأُوحِيَ إِلَىٰ نُوحٍ أَنَّهُ لَنْ يُؤْمِنَ مِنْ قَوْمِكَ إِلَّا مَنْ قَدْ آمَنَ فَلَا تَبْتَئِسْ بِمَا كَانُوا يَفْعَلُونَ  

(وأوحي إلى نوح أنه لن يؤمن من قومك إلا من قد آمن فلا تبتئس) تحزن (بما كانوا يفعلون) من الشرك فدعا عليهم بقوله، "" رب لا تذر على الأرض "" إلخ، فأجاب الله دعاءه فقال: