BUKHARI 968:
from al-Barāʾ —
The Prophet ﷺ delivered the Khutba on the day of Nahr (ʿId-ul-Adha) and said, "The first thing we should do on this day of ours is to pray and then return and slaughter (our sacrifices). So anyone who does so he acted according to our Sunna; and whoever slaughtered before the prayer then it was just meat that he offered to his family and would not be considered as a sacrifice in any way. My uncle Abu Burda bin Niyyar got up and said, "O, Messenger of Allah ﷺ! I slaughtered the sacrifice before the prayer but I have a young she-goat which is better than an older sheep." The Prophet ﷺ said, "Slaughter it in lieu of the first and such a goat will not be considered as a sacrifice for anybody else after you."
البخاري ٩٦٨:
عن البراء —
خَطَبَنَا النَّبِيُّ ﷺ يَوْمَ النَّحْرِ قَالَ إِنَّ أَوَّلَ مَا نَبْدَأُ بِهِ فِي يَوْمِنَا هَذَا أَنْ نُصَلِّيَ ثُمَّ نَرْجِعَ فَنَنْحَرَ فَمَنْ فَعَلَ ذَلِكَ فَقَدْ أَصَابَ سُنَّتَنَا وَمَنْ ذَبَحَ قَبْلَ أَنْ يُصَلِّيَ فَإِنَّمَا هُوَ لَحْمٌ عَجَّلَهُ لأَهْلِهِ لَيْسَ مِنَ النُّسُكِ فِي شَىْءٍ فَقَامَ خَالِي أَبُو بُرْدَةَ بْنُ نِيَارٍ فَقَالَ يَا رَسُولَ اللَّهِ أَنَا ذَبَحْتُ قَبْلَ أَنْ أُصَلِّيَ وَعِنْدِي جَذَعَةٌ خَيْرٌ مِنْ مُسِنَّةٍ قَالَ اجْعَلْهَا مَكَانَهَا أَوْ قَالَ اذْبَحْهَا وَلَنْ تَجْزِيَ جَذَعَةٌ عَنْ أَحَدٍ بَعْدَكَ
hadithunlocked.com