It is narrated from Hazrat Abu Umamah (may Allah be pleased with him) that I heard the Noble Prophet (peace and blessings be upon him) say: On the day of Jumu'ah, the angels come and sit at the doors of the mosques, and they write down the names of those who come first, second, and third. When the Imam comes out, the scrolls are folded up.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 22242
Hadith Gradingحکم دارالسلام:صحيح لغيره، وهذا إسناد حسن فى المتابعات والشواهد من أجل أبى غالب