Jundab bin Sufyan reported,

We celebrated Eid al-Adha with the Messenger of Allah ﷺ one day, and the people had already slaughtered their sacrifices before the prayer. When the Prophet ﷺ finished, he saw that they had slaughtered before the prayer, so he said, "Whoever slaughtered before the prayer must slaughter another in its place, and whoever had not slaughtered until we prayed, let him slaughter in the name of Allah عز وجل."

Nasai 4403

Sahih

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

عن جندب بن سفيان قال

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

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