Surah Al-Infitaar

82:5

عَلِمَتْ نَفْسٌۭ مَّا قَدَّمَتْ وَأَخَّرَتْ

A soul will [then] know what it has put forth and kept back.

Tafsir 82:5

At that time, every soul will know the actions it sent forward and those it left behind and did not do.