وَلِكُلٍّۢ دَرَجَٰتٌۭ مِّمَّا عَمِلُوا۟ ۚ وَمَا رَبُّكَ بِغَٰفِلٍ عَمَّا يَعْمَلُونَ١٣٢
Everyone will be assigned ranks according to their deeds, for your Lord is not unaware of what they do.
[ ↗ Study from physical print edition ]And for all are degrees from what they have done. And your Lord is not unaware of what they do.
[ ↗ Study from physical print edition ]132. Each one of them will have ranks in accordance to their actions. The person who did a great deal of evil will not be equal to the one who did less. The followers will not be equal to those who were followed. Similarly, the reward for those who do good will not be the same. Your Lord is not unaware of what they used to do. Instead, He is well aware of that. Nothing of it is hidden from Him and He will repay them for their actions.
All of those who perform deeds shall have degrees of requital according to what they have done of good or evil. Your Lord is not heedless of what they do ya‘malūna may also be read ta‘malūna ‘you do’.
The sense of the fourth verse (132) is fairly clear. It says that with Allah there are ranks for classes of people among human beings and the Jinn. These ranks have been assigned in terms of their deeds. When rewarded or punished, the measure used shall be that of their deeds.
Tafsir al-Qurtubi [The Compendium of Legal Rulings]
تفسير القرطبي (الجامع لأحكام القرآن)قَوْلُهُ تَعَالَى: ﴿وَلِكُلٍّ دَرَجاتٌ مِمَّا عَمِلُوا﴾ أَيْ مِنَ الْجِنِّ وَالْإِنْسِ، كَمَا قَالَ فِي آيَةٍ أُخْرَى: "أُولئِكَ الَّذِينَ حَقَّ عَلَيْهِمُ الْقَوْلُ فِي أُمَمٍ قَدْ خَلَتْ مِنْ قَبْلِهِمْ مِنَ الْجِنِّ وَالْإِنْسِ إِنَّهُمْ كانُوا خاسِرِينَ" ثُمَّ قَالَ: "وَلِكُلٍّ دَرَجاتٌ مِمَّا عَمِلُوا وَلِيُوَفِّيَهُمْ أَعْمالَهُمْ وَهُمْ لَا يُظْلَمُونَ". وَفِي هَذَا مَا يَدُلُّ عَلَى أَنَّ الْمُطِيعَ مِنَ الْجِنِّ فِي الْجَنَّةِ، وَالْعَاصِيَ مِنْهُمْ فِي النَّارِ، كَالْإِنْسِ سَوَاءً. وَهُوَ أصح مَا قِيلَ فِي ذَلِكَ فَاعْلَمْهُ. وَمَعْنَى "وَلِكُلٍّ دَرَجاتٌ" أَيْ وَلِكُلِّ عَامِلٍ بِطَاعَةٍ دَرَجَاتٌ فِي الثَّوَابِ وَلِكُلِّ عَامِلٍ بِمَعْصِيَةٍ دِرْكَاتٌ فِي الْعِقَابِ. (وَما رَبُّكَ بِغافِلٍ) أَيْ لَيْسَ بِلَاهٍ وَلَا سَاهٍ. وَالْغَفْلَةُ أَنْ يَذْهَبَ الشَّيْءُ عَنْكَ لِاشْتِغَالِكَ بِغَيْرِهِ. (عَمَّا يَعْمَلُونَ) قَرَأَهُ ابْنُ عَامِرٍ بِالتَّاءِ، الباقون بالياء.