The Messenger of Allah ﷺ said, "On Friday, the angels stand at the doors of the mosques and record people according to their rank of arrival. So-and-so came at such-and-such hour, so-and-so came at such-and-such hour, so-and-so came while the imam was delivering the sermon, and so-and-so came and caught the prayer but did not attain the merit of Jumuah, since he missed the sermon."
حدثنا عفان حدثنا حماد بن سلمة حدثنا علي بن زيد عن أوس بن خالد
أن رسول الله ﷺ قال إن الملائكة يوم الجمعة على أبواب المساجد يكتبون الناس على منازلهم جاء فلان من ساعة كذا جاء فلان من ساعة كذا جاء فلان والإمام يخطب جاء فلان فأدرك الصلاة ولم يدرك الجمعة إذا لم يدرك الخطبة