Surah Al-A'raaf

7:72

فَأَنجَيْنَٰهُ وَٱلَّذِينَ مَعَهُۥ بِرَحْمَةٍۢ مِّنَّا وَقَطَعْنَا دَابِرَ ٱلَّذِينَ كَذَّبُوا۟ بِـَٔايَٰتِنَا ۖ وَمَا كَانُوا۟ مُؤْمِنِينَ

So We saved him and those with him by mercy from Us. And We eliminated those who denied Our signs, and they were not [at all] believers.

Tafsir 7:72

So Allah saved Hūd (peace be upon him), and those of the believers who were with him, through a mercy from Him, and He removed and destroyed those who rejected His signs, who did not have faith and deserved their punishment because of their denial.