Sayyiduna Abu Hurayrah (may Allah be pleased with him) narrates: The Prophet (peace and blessings be upon him) said: "Indeed the angels of Allah Almighty recognise the children of Adam; the narrator says: I think he also said: and they recognise their deeds. When they see a servant doing a deed of obedience to Allah Almighty, they mention him among themselves by name and say: Last night so-and-so succeeded; last night so-and-so attained salvation. And when the angels see a servant who does a deed of disobedience to Allah Almighty, they mention him among themselves by name and say: Last night so-and-so was ruined."
Al-Bazzar recorded it, and its chain contains narrators whom I do not know.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الزهد / 17689