The Prophet ﷺ said, "Whoever slaughters before the prayer has only slaughtered for himself, and whoever slaughters after the prayer has completed his rite and followed the practice of the Muslims."
حدثنا مسدد حدثنا إسماعيل عن أيوب عن محمد
قال النبي ﷺ من ذبح قبل الصلاة فإنما ذبح لنفسه ومن ذبح بعد الصلاة فقد تم نسكه وأصاب سنة المسلمين