Jundab bin Sufyan reported,

I witnessed the Prophet ﷺ on the Day of Sacrifice, and he said, "Whoever slaughtered before performing the prayer must repeat the sacrifice with another animal in its place, and whoever has not yet slaughtered should now do so."

Bukhari 5562

Sahih

حدثنا آدم حدثنا شعبة حدثنا الأسود بن قيس سمعت

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

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

البخاري 5562صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sacrificial animals
Chapter
Whoever slaughtered before the prayer must repeat it
Numbering
Darussalam 5562
Bukhari 5562