هُنَالِكَ تَبْلُو كُلُّ نَفْسٍ مَّا أَسْلَفَتْ
...
There! Every person will know (exactly) what he had earned before,
This will be the state of accounting on the Day of Resurrection. Every soul shall know all that it had sent forth, both good and evil. Similarly, Allah said:
يَوْمَ تُبْلَى السَّرَايِرُ
The Day when all the secrets will be examined. (86:9)
يُنَبَّأُ الاِنسَـنُ يَوْمَيِذِ بِمَا قَدَّمَ وَأَخَّرَ
On that Day man will be informed of what he sent forward (of deeds), and what he left behind. (75:13)
and,
وَكُلَّ إِنْسَـنٍ أَلْزَمْنَـهُ طَـيِرَهُ فِى عُنُقِهِ وَنُخْرِجُ لَهُ يَوْمَ الْقِيَـمَةِ كِتَابًا يَلْقَـهُ مَنْشُوراً
اقْرَأْ كَتَـبَكَ كَفَى بِنَفْسِكَ الْيَوْمَ عَلَيْكَ حَسِيبًا
...and on the Day of Resurrection, We shall bring out for him a book which he will find wide open.
(It will be said to him): "Read your book. You yourself are sufficient as a reckoner against you this Day." (17:13-14)
Then Allah said,
...
وَرُدُّواْ إِلَى اللّهِ مَوْلاَهُمُ الْحَقِّ
...
and they will be brought back to Allah, their rightful Mawla.
All affairs and matters will be brought back to Allah, the Judge, the All-Just. He will judge everyone, and then admit the people of Paradise in Paradise and the people of Hell to Hell.
...
وَضَلَّ عَنْهُم
...
and will vanish from them,
meaning what the idolators worshipped,
...
مَّا كَانُواْ يَفْتَرُونَ
what they invented.
what they worshipped besides Allah that they invented.