The Messenger of Allah ﷺ said, "Allah does not wrong a believer regarding any good deed. He is rewarded for it in this world and recompensed for it in the Hereafter. As for the disbeliever, he is fed in this world for the good deeds he performed for the sake of Allah, so that when he reaches the Hereafter, he has no good deed left for which he might be rewarded."
قال رسول الله ﷺ: إن الله لا يظلم مؤمنا حسنة، يعطى بها في الدنيا، ويجزى بها في الآخرة، وأما الكافر فيطعم بحسنات ما عمل بها الله في الدنيا، حتى إذا أفضى إلى الآخرة لم يكن له حسنة يجزى بها.
Muslim narrated it in the chapter on the description of the Resurrection, Paradise, and Hell (2808) through several routes from Yazid bin Harun, who said, Hammam bin Yahya informed us, from Qatada, from Anas bin Malik, who said, and then he related it.