Language:
كتاب العيدين
13  
The Two Festivals (Eids)
(23)
Chapter: If the Imam is asked about something while he is delivering the Khutba
(23)
باب كَلاَمِ الإِمَامِ وَالنَّاسِ فِي خُطْبَةِ الْعِيدِ، وَإِذَا سُئِلَ الإِمَامُ عَنْ شَيْءٍ وَهْوَ يَخْطُبُ
Sahih al-Bukhari 983

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 : Vol. 2, Book 15, Hadith 99
  (deprecated numbering scheme)