Anas bin Malik reported,

The Prophet ﷺ said, "Whoever slaughters before the prayer has only slaughtered for himself, and whoever slaughters after the prayer has completed his sacrificial rite and has followed the practice of the Muslims."

Azami 7152

Sahih

عن أنس بن مالك قال

قال النبي ﷺ: من ذبح قبل الصلاة فإنما ذبح لنفسه، ومن ذبح بعد الصلاة فقد تم نسكه، وأصاب سنة المسلمين.

الأعظمي 7152صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sacrificial animals
Section
Sacrificial animals are among the rites of Islam
Numbering
Jami al-Kamil 7152 (2nd edition)
Azami 7152