Quran 2:167 from Surah Al-Baqara on Divine Marvels.
وَقَالَ ٱلَّذِينَ ٱتَّبَعُواْ لَوۡ أَنَّ لَنَا كَرَّةٗ فَنَتَبَرَّأَ مِنۡهُمۡ كَمَا تَبَرَّءُواْ مِنَّاۗ كَذَٰلِكَ يُرِيهِمُ ٱللَّهُ أَعۡمَٰلَهُمۡ حَسَرَٰتٍ عَلَيۡهِمۡۖ وَمَا هُم بِخَٰرِجِينَ مِنَ ٱلنَّارِ
English translation: And said those who followed (Only) if [that] for us a return then we will disown [from] them as they disown [from] us Thus will show them Allah their deeds (as) regrets for them And not they will come out from the Fire
Transliteration: waqala alladhina ittaba'u law anna lana karratan fanatabarra-a min'hum kama tabarrau minna kadhalika yurihimu al-lahu a'malahum hasaratin alayhim wama hum bikharijina mina al-nari