Surah Al-Anbiya, ayah 94

21:94

فَمَن يَعۡمَلۡ مِنَ ٱلصَّٰلِحَٰتِ وَهُوَ مُؤۡمِنٞ فَلَا كُفۡرَانَ لِسَعۡيِهِۦ وَإِنَّا لَهُۥ كَٰتِبُونَ ٩٤

Faman ya'mal minas-sālihāti wahuwa mu'minun falā kufrāna lisa'yihī wa innā lahū kātibūn

So whoever does righteous deeds while he is a believer - no denial will there be for his effort,905 and indeed We [i.e., Our angels], of it, are recorders.

Footnotes

905 Such a person will not be deprived of his due reward.