Hadithcore
Riyad as-Salihin, 428

Anas (May Allah be pleased with him) reported:

Messenger of Allah (ﷺ) said, "When an infidel accomplishes any good deed, he is rewarded for it in this world; and in the case of a Muslim, Allah stores up his good acts for him in the Hereafter and provides him with subsistence in this life due to his obedience." Another narration is: Messenger of Allah (ﷺ) said, "Allah does not wrong a believer a good deed because he is given blessings for it in this world and will be rewarded for it in the Hereafter. But the infidel is given in the world the reward for good deeds, he has performed for the sake of Allah and when he comes to the Hereafter, there is no good deed for which he can be rewarded". <b>[Muslim]</b>.

وعن أنس، رضي الله عنه ،عن رسول الله، صلى الله عليه وسلم، قال‏:‏ ‏"‏إن الكافر إذا عمل حسنة، أطعم بها طعمة من الدنيا، أما المؤمن، فإن الله تعالى يدخر له حسناته في الآخرة، ويعقبه رزقاً في الدنيا على طاعته‏"‏‏.‏ وفي رواية‏:‏ ‏"‏إن الله لا يظلم مؤمنا حسنة يعطى بها في الدنيا، ويجزى بها في الآخرة، وأما الكافر، فيطعم بحسنات ما عمل لله تعالى، في الدنيا حتى إذا أفضى إلى الآخرة، لم يكن له حسنة يجزى بها‏"‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Introduction, Hadith 428
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) It points out how Allah Almighty deals justly with His servants, as He recompenses their deeds in full, even the wicked disbelievers. Verily, He loves justice and is pleased with it.<br> 2) The disbeliever is recompensed for his good deeds in this world. The believer, on the other hand, is rewarded for his good deeds both in this world and in the Hereafter. Indeed, this is a source of good news and hope for the believers.
Related hadiths1
Compare isnād across 1 related chains →