It wasnarrated from Anas bin Malik that a man slaughtered on the DayofSacrifice, (meaning) before the 'Eid prayer, and the Prophet (ﷺ)ordered him to do it again. (RU)
English reference (RU): Vol. 4, Book 26, Hadith 3151 (RU)
Arabic reference (RU): Book 26, Hadith 3271 (RU)