Verily, Allah does not treat a believer unjustly in regard to his virtues. He would confer upon him (His blessing) in this world and would give him reward in the Hereafter. And as regards a non-believer, he would be made to taste the reward (of virtue in this world) what he has done for himself so much that when it would be the Hereafter, he would find no virtue for which he should be rewarded. (Using translation from Muslim 2808a)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِنَّ اللهَ لَا يَظْلِمُ الْمُؤْمِنَ حَسَنَةً يُثَابُ عَلَيْهَا الرِّزْقَ فِي الدُّنْيَا وَيُجْزَى بِهَا فِي الْآخِرَةِ قَالَ وَأَمَّا الْكَافِرُ فَيُطْعَمُ بِحَسَنَاتِهِ فِي الدُّنْيَا حَتَّىإِذَا أَفْضَى إِلَى الْآخِرَةِ لَمْ يَكُنْ لَهُ حَسَنَةٌ يُعْطَى بِهَا خَيْرًا