Surah Al-Anbya 21:94
فَمَن يَعْمَلْ مِنَ ٱلصَّـٰلِحَـٰتِ وَهُوَ مُؤْمِنٌ فَلَا كُفْرَانَ لِسَعْيِهِۦ وَإِنَّا لَهُۥ كَـٰتِبُونَ
So whoever does righteous deeds while he is a believer - no denial will there be for his effort, and indeed We [i.e., Our angels], of it, are recorders.
Translation: Saheeh International
Tafsir
And whoever performs righteous deeds being a believer — no rejection that is no denial will there be of his endeavour and We will indeed write it down for him by commanding the guardian angels to record it and then We requite him for it.
Excerpt from Tafsir al-Jalalayn, commentary on 21:94, via Quran.com. The reader has the full commentary and 9 more tafsirs.