Surah Al-A'raf 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?
Translation: Saheeh International
Tafsir
Those who deny Our signs and the encounter in the Hereafter the Resurrection and so on. their works the good deeds they performed in the world such as the maintenance of kinship ties or voluntary almsgivings have failed are invalid and will not be rewarded since they are not binding in this case. …
Excerpt from Tafsir al-Jalalayn, commentary on 7:147, via Quran.com. The reader has the full commentary and 9 more tafsirs.