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:21:11

And how many a city which was unjust have We shattered and produced after it another people.  

And how many did We destroy of towns — meaning its inhabitants — that had been wrongdoing, disbelieving, and brought forth another people after it!
القرآن:٢١:١١

وَكَمْ قَصَمْنَا مِنْ قَرْيَةٍ كَانَتْ ظَالِمَةً وَأَنْشَأْنَا بَعْدَهَا قَوْمًا آخَرِينَ  

{وكم قصمنا} أهلكنا {من قرية} أي أهلها {كانت ظالمة} كافرة {وأنشأنا بعدها قوماً آخرين}.