Characteristics of the Day of Judgment, Paradise, and Hell
Ṣaḥīḥ Muslim 7090
إِنَّ الْكَافِرَ إِذَا عَمِلَ حَسَنَةً أُطْعِمَ بِهَا طُعْمَةً مِنَ الدُّنْيَا وَأَمَّا الْمُؤْمِنُ فَإِنَّ اللَّهَ يَدَّخِرُ لَهُ حَسَنَاتِهِ فِي الآخِرَةِ وَيُعْقِبُهُ رِزْقًا فِي الدُّنْيَا عَلَى طَاعَتِهِ
inna al-kāfira idhā ʿamila ḥasanatan uṭʿima bihā ṭuʿmatan mina ad-dunyā wa-ammā al-muʾminu fa-inna-Llāh yaddakhiru lah ḥasanātihi fī al-ākhirah wayuʿqibuhu rizqan fī ad-dunyā ʿalā ṭāʿatihi
Transliteration generated from the Arabic vowel marks
The full narration
Anas b. Malik reported that Allah's Messenger (ﷺ) thus told him:When a non-believer does good he is made to taste Its reward in this world. And so far as the believer is concerned, Allah stores (the reward) of his virtues for the Hereafter and provides him sustenance in accordance with his obedience to Him
Source
Ṣaḥīḥ Muslim · 7090