Sahih al-Bukhari 968
Narrated Al-Bara':
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, Allah's Messenger (ﷺ)! 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."
حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ، قَالَ حَدَّثَنَا شُعْبَةُ، عَنْ زُبَيْدٍ، عَنِ الشَّعْبِيِّ، عَنِ الْبَرَاءِ، قَالَ خَطَبَنَا النَّبِيُّ صلى الله عليه وسلم يَوْمَ النَّحْرِ قَالَ ‏"‏ إِنَّ أَوَّلَ مَا نَبْدَأُ بِهِ فِي يَوْمِنَا هَذَا أَنْ نُصَلِّيَ ثُمَّ نَرْجِعَ فَنَنْحَرَ، فَمَنْ فَعَلَ ذَلِكَ فَقَدْ أَصَابَ سُنَّتَنَا، وَمَنْ ذَبَحَ قَبْلَ أَنْ يُصَلِّيَ فَإِنَّمَا هُوَ لَحْمٌ عَجَّلَهُ لأَهْلِهِ، لَيْسَ مِنَ النُّسُكِ فِي شَىْءٍ ‏"‏‏.‏ فَقَامَ خَالِي أَبُو بُرْدَةَ بْنُ نِيَارٍ فَقَالَ يَا رَسُولَ اللَّهِ، أَنَا ذَبَحْتُ قَبْلَ أَنْ أُصَلِّيَ وَعِنْدِي جَذَعَةٌ خَيْرٌ مِنْ مُسِنَّةٍ‏.‏ قَالَ ‏"‏ اجْعَلْهَا مَكَانَهَا ـ أَوْ قَالَ اذْبَحْهَا ـ وَلَنْ تَجْزِيَ جَذَعَةٌ عَنْ أَحَدٍ بَعْدَكَ ‏"‏‏.‏