Jundab bin Sufyan reported,

I attended the sacrifice with the Messenger of Allah ﷺ. As soon as he had prayed and finished his prayer, he gave the salam, and then he saw the meat of sacrificial animals that had been slaughtered before he completed the prayer. He said, "Whoever slaughtered his sacrifice before he prayed, or before we prayed, let him slaughter another in its place. And whoever has not yet slaughtered, let him slaughter in the name of Allah."

Muslim 5064

Sahih

حدثنا أحمد بن يونس حدثنا زهير حدثنا الأسود بن قيس ح و حدثناه يحيى بن يحيى أخبرنا أبو خيثمة عن الأسود بن قيس

حدثني جندب بن سفيان قال

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

مسلم 5064صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Sacrificial animals
Chapter
Its time
Numbering
Darussalam 5064
Muslim 5064