Jundab bin Sufyan reported,

I was present at the Eid al-Adha with the Messenger of Allah ﷺ. He led the people in prayer, and when he had finished, he saw that some sheep had already been slaughtered. He said, "Whoever slaughtered before the prayer, let him slaughter another sheep in its place, and whoever has not yet slaughtered, let him slaughter in the name of Allah عز وجل."

Nasai 4373

Sahih

أخبرنا هناد بن السري عن أبي الأحوص عن الأسود بن قيس

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

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

النسائي 4373صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Sacrificial animals
Chapter
Slaughtering by the people at the prayer place
Numbering
Darussalam 4373
Nasai 4373