We believe in the Honorable Scribes. Allah has appointed them as guardians over us.
“And upon you are guardians. The honored Scribes. They know what you do.” (Al-Infitar, 10-12)
“When the two (angels) meet together, positioning themselves on either side of the man. Not a word he utters but by him is an observer ready (to write down).” (Qaf: 17, 18)
“Or, do they think We do not hear their secret and their whispers? Nay, Our messenger-angels are with them writing down.” (Al-Zukhruf, 80)
In authentic compilations there is a report that the Prophet (saws) said:
“You are followed up by the evening angels and the morning angels. They meet together at the time of dawn and after-noon Prayers. As those that were with you ascend (to the Heavens), He asks – and He knows better than them – ‘In what state did you leave My slaves?’ They reply, ‘When we went to them, they were Praying, and when we left them, they were Praying.'”
Thus, the above texts prove that the angels write down our words and deeds. They also write down the intentions. For that is the deed of the heart and is covered by the words above: ‘They know what you do.” This can also be substantiated by the words of the Prophet who said: “Allah (swt) said, ‘If My slave happens to intend an evil, don’t write it down. If he commits it, then write down a single evil against him. But if My slave intends a good deed, but does not perform it, then write it down in his favor as a single good deed. But, if he performs it, then write it down as ten good deeds.'”
Imam Ali Ibn Abi al `Izz al Hanafi