Sayyiduna Abu Hurayrah (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) said: "When it is Friday, there are angels at the doors of the mosques who record those who come first. When the imam sits on the pulpit, they close their scrolls and listen to the remembrance. The one who comes early is like one who offers a camel in sacrifice; the one who comes after him receives the reward of sacrificing a cow, then the one after him the reward of sacrificing a ram, then the one after him the reward of giving a hen in charity, then the one who comes after him receives the reward of giving an egg in charity."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 10152