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". Muslim.