Abu Hurairah reported,

The Messenger of Allah ﷺ said, "At every door of the mosque stands an angel who records those who come, the first then the next. The first is like one who offers a camel as a sacrifice," and he continued ranking them down until he reached the equivalent of an egg. "When the imam sits, the pages are folded up, and the angels attend the remembrance."

Azami 3250

Sahih

عن أبي هريرة

أن رسول الله ﷺ قال: على كل باب من أبواب المسجد ملك يكتب: الأول فالأول (مثل الجزور، ثم نزلهم حتى صغر إلى مثل البيضة) فإذا جلس الإمام طويت الصحف، وحضروا الذكر.

الأعظمي 3250صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Friday
Chapter
Friday, its virtue, characteristics, and etiquettes
Section
Virtue of going early to Friday prayer
Numbering
Jami al-Kamil 3250 (2nd edition)
Azami 3250