Abu Hurairah reported,

The Prophet ﷺ said, "On Friday, angels stand at every door of the mosque recording those who arrive, in the order they come. When the imam sits down, they roll up their scrolls and come to listen to the remembrance."

Azami 507

Sahih

عن أبي هريرة، قال

قال النبي ﷺ: إذا كان يوم الجمعة كان على كل باب من أبواب المسجد الملائكة يكتبون الأول فالأول، فإذا جلس الإمام طووا الصحف، وجاءوا يستمعون الذكر.

الأعظمي 507صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Belief in the angels
Section
Angels recording those who enter the mosques on Friday, the first then the next, until the imam sits for the sermon
Numbering
Jami al-Kamil 507 (2nd edition)
Azami 507