وَنُؤْمِنُ بِالْكِرَامِ الْكَاتِبِينَ فَإِنَّ اللَّهَ قَدْ جَعَلَهُمْ عَلَيْنَا حَافِظِينَ
We believe in the noble recording angels, for Allah has appointed them as guardians over us.
وَنُخْرِجُ لَهُ يَوْمَ الْقِيَامَةِ كِتَابًا يَلْقَاهُ مَنْشُورًا
We shall bring forth for him on the Day of Resurrection a book which he will find opened. (al-Isrāʾ 17:13)
The apparent difficulty: If Allah knows every deed, why are there recording angels and books of deeds?
Resolution: Divine omniscience coexists with appointed angels recording actions and a displayed record on Judgment Day. These are elements of accountability, not means for God to acquire missing information.
Inference to avoid: Angelically recorded deeds do not imply any deficiency in divine knowledge.
Application: A person may forget an act, but the reality of accounting for it remains.