(23) باب كَلاَمِ الإِمَامِ وَالنَّاسِ فِي خُطْبَةِ الْعِيدِ، وَإِذَا سُئِلَ الإِمَامُ عَنْ شَيْءٍ وَهْوَ يَخْطُبُ
Narrated Al-Bara' bin `Azib:
On the day of Nahr Allah's Messenger (ﷺ) delivered the Khutba after the `Id prayer and said, "Anyone who prayed like us and slaughtered the sacrifice like we did then he acted according to our (Nusuk) tradition of sacrificing, and whoever slaughtered the sacrifice before the prayer, then that was just mutton (i.e. not sacrifice)." Abu Burda bin Naiyar stood up and said, "O Allah's Messenger (ﷺ)! By Allah, I slaughtered my sacrifice before I offered the (Id) prayer and thought that today was the day of eating and drinking (nonalcoholic drinks) and so I made haste (in slaughtering) and ate and also fed my family and neighbors." Allah's Messenger (ﷺ) said, "That was just mutton (not a sacrifice)." Then Abu Burda said, "I have a young she-goat and no doubt, it is better than two sheep. Will that be sufficient as a sacrifice for me?" The Prophet (ﷺ) replied, "Yes. But it will not be sufficient for anyone else (as a sacrifice), after you."
Reference: Sahih al-Bukhari 983
In-book reference: Book 13, Hadith 32
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 15, Hadith 99