The knowledge of everything they do is recorded in the Zabur (books of wisdom).
Al-muntakhab fi tafsir al-Qur'an al-Karim
And you ought to know that every act, worthy or worthless, good or evil, in the very doing or the point of doing, is set down in writing in the book of Records which the guardian angels keep