Anas bin Malik reported,

The Messenger of Allah ﷺ said, "Allah does not wrong a believer regarding any good deed. He grants him reward for it in this world and rewards him for it in the Hereafter. As for the disbeliever, he is fed in this world for the good deeds he did for Allah's sake, so that when he reaches the Hereafter, he has no good deed left for which to be rewarded."

Muslim 7089

Sahih

حدثنا أبو بكر بن أبي شيبة وزهير بن حرب واللفظ لزهير قالا حدثنا يزيد بن هارون أخبرنا همام بن يحيى عن قتادة

عن أنس بن مالك قال

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

مسلم 7089صحيح
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 7089
Muslim 7089