Qur'ān 21:94 · Al-Anbiya (الأنبياء)
فَمَن يَعْمَلْ مِنَ ٱلصَّـٰلِحَـٰتِ وَهُوَ مُؤْمِنٌۭ فَلَا كُفْرَانَ لِسَعْيِهِۦ وَإِنَّا لَهُۥ كَـٰتِبُونَ
So whoever does righteous deeds while he is a believer - no denial will there be for his effort, and indeed We, of it, are recorders.