Surah Al-A'raf, ayah 72

7:72

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

Fa anjaynāhu walladhīna ma'ahū birahmatim minnā waqata'nā dābiral-ladhīna kaddhabū bi'āyātinā wamā kānū mu'minīn

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.