An-Nahl • BN-TAFSEER-IBN-E-KASEER
﴿ ٱلَّذِينَ تَتَوَفَّىٰهُمُ ٱلْمَلَٰٓئِكَةُ ظَالِمِىٓ أَنفُسِهِمْ ۖ فَأَلْقَوُا۟ ٱلسَّلَمَ مَا كُنَّا نَعْمَلُ مِن سُوٓءٍۭ ۚ بَلَىٰٓ إِنَّ ٱللَّهَ عَلِيمٌۢ بِمَا كُنتُمْ تَعْمَلُونَ ﴾
“those whom the angels have gathered in death while they were still sinning against themselves!" Then will they [who are thus arraigned] proffer their submission, [saying:] "We did not [mean to] do any evil! [But they will be answered:] "Yea, verily, God has full knowledge of all that you were doing!”
Please check ayah 16:29 for complete tafsir.