Anas bin Malik reported,

The Messenger of Allah ﷺ prayed and then delivered a sermon, in which he ordered anyone who had slaughtered before the prayer to slaughter again. He then mentioned the rest, similar to the hadith of Ibn Ulayyah.

Muslim 5080

Sahih

حدثنا محمد بن عبيد الغبري حدثنا حماد بن زيد حدثنا أيوب وهشام عن محمد

عن أنس بن مالك

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

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