وَالَّذِيْنَ كَذَّبُوْا بِاٰيٰتِنَا وَلِقَاۤءِ الْاٰخِرَةِ حَبِطَتْ اَعْمَالُهُمْۗ هَلْ يُجْزَوْنَ اِلَّا مَا كَانُوْا يَعْمَلُوْنَ ࣖ ( الأعراف: ١٤٧ )
Wallazeena kazzaboo bi Aayaatinaa wa liqaaa'il Aakhirati habitat 'amaaluhum; hal yujzawna illaa maa kaanoo ya'maloon (al-ʾAʿrāf 7:147)
Those who denied Our signs and the meeting of the Hereafter – their deeds have become worthless. Are they recompensed except for what they used to do? (Al-A'raf  : 147)
1 Mufti Taqi Usmani
Gone to waste are the deeds of those who have rejected Our signs and the meeting of the Hereafter. They will be recompensed only for what they have been doing.