Al-Mujaadila • EN-TAFSIR-IBN-ABBAS
﴿ يَوْمَ يَبْعَثُهُمُ ٱللَّهُ جَمِيعًۭا فَيُنَبِّئُهُم بِمَا عَمِلُوٓا۟ ۚ أَحْصَىٰهُ ٱللَّهُ وَنَسُوهُ ۚ وَٱللَّهُ عَلَىٰ كُلِّ شَىْءٍۢ شَهِيدٌ ﴾
“on the Day when God will raise them all from the dead and will make them truly understand all that they did [in life]: God will have taken [all of] it into account, even though they [themselves] may have forgotten it - for God is witness unto everything.”
(On the day when Allah will raise them all together) will raise the adherents of all religions (and inform them of what they did) in the life of the world. (Allah hath kept account of it) i.e. He has kept account of all their works (while they forgot it) while they left the obedience of Allah with which they were commanded. (And Allah is Witness over all things) over all their works.