Sura Al-Ahqaf

46:19

وَلِكُلٍّۢ دَرَجَٰتٌۭ مِّمَّا عَمِلُوا۟ ۖ وَلِيُوَفِّيَهُمْ أَعْمَٰلَهُمْ وَهُمْ لَا يُظْلَمُونَ

Och för var och en skall det finnas grader efter vad han har gjort [av gott eller ont], så att [Gud på denna grund] skall ge dem full lön för deras handlingar och ingen skall tillfogas orätt.

Tafsir 46:19

And for each group - the group of Paradise and the group of the fire - are ranks according to their actions. The ranks of the people of Paradise are high ranks, whilst the ranks of the people of the fire are low ranks. And so that Allah gives them the full reward of their actions, and they will not be oppressed on the day of judgment by their good deeds being decreased or their bad deeds being increased.