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."
حدثنا أبو بكر بن أبي شيبة وزهير بن حرب واللفظ لزهير قالا حدثنا يزيد بن هارون أخبرنا همام بن يحيى عن قتادة
قال رسول الله ﷺ إن الله لا يظلم مؤمنا حسنة يعطى بها في الدنيا ويجزى بها في الآخرة وأما الكافر فيطعم بحسنات ما عمل بها لله في الدنيا حتى إذا أفضى إلى الآخرة لم تكن له حسنة يجزى بها