The Messenger of Allah ﷺ said, "The one who comes early to the prayer is like someone who offers a camel as sacrifice. The one who comes after him is like someone who offers a cow. The one after him is like someone who offers a ram. The one after him is like someone who offers a chicken. And the one after him is like someone who offers an egg."
أخبرنا أحمد بن محمد بن المغيرة قال حدثنا عثمان عن شعيب عن الزهري قال أخبرني أبو سلمة بن عبد الرحمن وأبو عبد الله الأغر
أن رسول الله ﷺ قال إنما مثل المهجر إلى الصلاة كمثل الذي يهدي البدنة ثم الذي على إثره كالذي يهدي البقرة ثم الذي على إثره كالذي يهدي الكبش ثم الذي على إثره كالذي يهدي الدجاجة ثم الذي على إثره كالذي يهدي البيضة
Bukhari transmitted it, Beginning of Creation, chapter on the mention of the angels, may Allah's blessings be upon them, hadith: 3211, and Muslim, Friday Prayer, chapter on the merit of coming early, 850, after that, hadith: 856, from the hadith of Zuhri through the same chain, and it is also found in Kubra, hadith: 936, and what is meant by "the prayer" here is the Friday prayer.