Surah Al-Jaathiya

45:29

هَٰذَا كِتَٰبُنَا يَنطِقُ عَلَيْكُم بِٱلْحَقِّ ۚ إِنَّا كُنَّا نَسْتَنسِخُ مَا كُنتُمْ تَعْمَلُونَ

This, Our record, speaks about you in truth. Indeed, We were having transcribed whatever you used to do."

Tafsir 45:29

This is My book, in which My angels used to write your actions, which is speaking against you truthfully, so read it. I used to order the guarding angels to write what you used to do in the world.