Surah An-Nahl 16:28
ٱلَّذِينَ تَتَوَفَّىٰهُمُ ٱلْمَلَـٰٓئِكَةُ ظَالِمِىٓ أَنفُسِهِمْ ۖ فَأَلْقَوُا۟ ٱلسَّلَمَ مَا كُنَّا نَعْمَلُ مِن سُوٓءٍۭ ۚ بَلَىٰٓ إِنَّ ٱللَّهَ عَلِيمٌۢ بِمَا كُنتُمْ تَعْمَلُونَ
The ones whom the angels take in death [while] wronging themselves, and [who] then offer submission, [saying], "We were not doing any evil." But, yes! Indeed, Allāh is Knowing of what you used to do.
Translation: Saheeh International
Tafsir
those whom the angels take in death read feminine person tatawaffāhum or masculine yatawaffāhum while they are wronging themselves’ through disbelief. Then they will offer submission becoming compliant and submitting themselves to belief in God upon death saying ‘We were not doing any evil’ any associating others with …
Excerpt from Tafsir al-Jalalayn, commentary on 16:28, via Quran.com. The reader has the full commentary and 9 more tafsirs.