The Prophet ﷺ said, "On Friday, angels stand at every gate of the mosque recording the people in the order they arrive, the first then the next. When the imam comes out, the records are folded up and they listen to the sermon. The one who comes early to the prayer is like one who offers a camel, the next is like one who offers a cow, then the next is like one who offers a ram," and he went on to mention a chicken and an egg.
أخبرنا محمد بن منصور قال حدثنا سفيان حدثنا الزهري عن سعيد
يبلغ به النبي ﷺ إذا كان يوم الجمعة كان على كل باب من أبواب المسجد ملائكة يكتبون الناس على منازلهم الأول فالأول فإذا خرج الإمام طويت الصحف واستمعوا الخطبة فالمهجر إلى الصلاة كالمهدي بدنة ثم الذي يليه كالمهدي بقرة ثم الذي يليه كالمهدي كبشا حتى ذكر الدجاجة والبيضة