Al-Anbiya' - 21:94

فَمَن يَعْمَلْ مِنَ الصَّالِحَاتِ وَهُوَ مُؤْمِنٌ فَلَا كُفْرَانَ لِسَعْيِهِ وَإِنَّا لَهُ كَاتِبُونَ
[21:94]
Therefore whoever shall do of good deeds and he is a believer, there shall be no denying of his exertion, and surely We will write (It) down for him.
Whoever works any act of righteousness and has faith,- His endeavour will not be rejected: We shall record it in his favour.
Then whoso doeth some good works and is a believer, there will be no rejection of his effort. Lo! We record (it) for him.