Anas bin Malik reported,

The Prophet ﷺ said on the Day of Sacrifice, "Whoever slaughtered before the prayer must repeat the sacrifice."A man stood up and said, "Messenger of Allah, this is a day on which meat is craved." He mentioned his neighbors and added, "I have a young goat that is better than two sheep's worth of meat."The Prophet ﷺ granted him permission to sacrifice it, but I do not know whether the permission extended to anyone besides him.Then the Prophet ﷺ turned to two rams and slaughtered them, and the people went to a small flock of sheep and divided them among themselves, or he said, they hurried to them.

Azami 7209

Sahih

عن أنس بن مالك قال

قال النبي ﷺ يوم النحر: من ذبح قبل الصلاة فليعد، فقام رجل فقال: يا رسول الله إن هذا يوم يشتهي فيه اللحم- وذكر جيرانه- وعندي جذعة خير من شاتي لحم. فرخص له في ذلك، فلا أدري أبلغت الرخصة من سواه أم لا. ثم انكفأ النبي ﷺ إلى كبشين فذبحهما، وقام الناس إلى غنيمة فتوزعوها أو قال: فتجرعوها.

الأعظمي 7209صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sacrificial animals
Section
Eating, giving as gifts, and giving in charity from the meat of sacrificial animals
Numbering
Jami al-Kamil 7209 (2nd edition)
Azami 7209