Anas bin Malik reported,

The Messenger of Allah ﷺ said, "When a disbeliever performs a good deed, he is given a portion of food from this world in return for it. As for the believer, Allah stores up his good deeds for him in the Hereafter and grants him provision in this world as a reward for his obedience."

Muslim 7090

Sahih

حدثنا عاصم بن النضر التيمي حدثنا معتمر قال سمعت أبي حدثنا قتادة

عن أنس بن مالك أنه حدث

عن رسول الله ﷺ إن الكافر إذا عمل حسنة أطعم بها طعمة من الدنيا وأما المؤمن فإن الله يدخر له حسناته في الآخرة ويعقبه رزقا في الدنيا على طاعته

مسلم 7090صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Description of the Resurrection, Paradise, and Hellfire
Chapter
Reward of the believer for his good deeds in this world and the Hereafter, and hastening of the good deeds of the disbeliever in this world
Numbering
Darussalam 7090
Muslim 7090