Bara bin Azib reported,

The Messenger of Allah ﷺ addressed us on the Day of Sacrifice after the prayer and said, "Whoever prays our prayer and offers our sacrifice has performed the sacrifice correctly. Whoever sacrifices before the prayer, that is merely a sheep slaughtered for meat."Abu Burda said, "Messenger of Allah, by Allah, I sacrificed before going out to the prayer. I knew that today is a day of eating and drinking, so I hurried, ate, and fed my family and neighbors."The Messenger of Allah ﷺ replied, "That is merely a sheep for meat."Abu Burda said, "I have a young she-goat that is better than two sheep meant for meat. Will it suffice for me?"He answered, "Yes, but it will not suffice for anyone after you."

Nasai 4400

Sahih

أخبرنا قتيبة قال حدثنا أبو الأحوص عن منصور عن الشعبي

عن البراء بن عازب قال

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

النسائي 4400صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Sacrificial animals
Chapter
Slaughtering the sacrifice before the imam
Numbering
Darussalam 4400
Nasai 4400