Sunan Ibn Majah
3153
Sahih+3

It was narrated from ‘Uwaimir bin Ashqar that he slaughtered before the prayer, and he mentioned that to the Prophet (ﷺ) who said:“Repeat your sacrifice.”

SahihAl-Albani
Sahih LighairihiMuhammad Fouad Abd al-Baqi