Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:1961aYaḥyá b. Yaḥyá > Khālid b. ʿAbdullāh > Muṭarrif > ʿĀmir > al-Barāʾ > Ḍaḥḥá Khālī Abū Burdah Qabl al-Ṣalāh

My maternal uncle Abu Burda sacrificed his animal before ('Id) prayer. Thereupon Messenger of Allah ﷺ said: That is a goat (slaughtered for the sake of) flesh (and not as a sacrifice on the day of Adha). He said: I have a lamb of six months. Thereupon he said: Offer it as a sacrifice, but it will not justify for anyone except you, and then said: He who sacrificed (the animal) before ('Id) prayer, he in fact slaughtered it for his own self, and he who slaughtered after prayer, his ritual of sacrifice became complete and he in fact observed the religious practice of the Muslims.  

مسلم:١٩٦١aوَحَدَّثَنَا يَحْيَى بْنُ يَحْيَى أَخْبَرَنَا خَالِدُ بْنُ عَبْدِ اللَّهِ عَنْ مُطَرِّفٍ عَنْ عَامِرٍ عَنِ الْبَرَاءِ قَالَ

ضَحَّى خَالِي أَبُو بُرْدَةَ قَبْلَ الصَّلاَةِ فَقَالَ رَسُولُ اللَّهِ ﷺ تِلْكَ شَاةُ لَحْمٍ فَقَالَ يَا رَسُولَ اللَّهِ إِنَّ عِنْدِي جَذَعَةً مِنَ الْمَعْزِ فَقَالَ ضَحِّ بِهَا وَلاَ تَصْلُحُ لِغَيْرِكَ ثُمَّ قَالَ مَنْ ضَحَّى قَبْلَ الصَّلاَةِ فَإِنَّمَا ذَبَحَ لِنَفْسِهِ وَمَنْ ذَبَحَ بَعْدَ الصَّلاَةِ فَقَدْ تَمَّ نُسُكُهُ وَأَصَابَ سُنَّةَ الْمُسْلِمِينَ  


See similar narrations below:

Collected by Bukhārī, Suyūṭī
bukhari:5556Musaddad > Khālid b. ʿAbdullāh > Muṭarrif > ʿĀmir > al-Barāʾ b. ʿĀzib > Ḍaḥḥá Khāl Lī Yuqāl Lah Abū Burdah Qabl al-Ṣalāh

An uncle of mine called Abu Burda, slaughtered his sacrifice before the ʿId prayer. So Messenger of Allah ﷺ said to him, "Your (slaughtered) sheep was just mutton (not a sacrifice)." Abu Burda said, "O Allah's Apostle! I have got a domestic kid goat." The Prophet ﷺ said, "Slaughter it (as a sacrifice) but it will not be permissible for anybody other than you" The Prophet ﷺ added, "Whoever slaughtered his sacrifice before the (ʿId) prayer, he only slaughtered for himself, and whoever slaughtered it after the prayer, he offered his sacrifice properly and followed the tradition of the Muslims."  

البخاري:٥٥٥٦حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا خَالِدُ بْنُ عَبْدِ اللَّهِ حَدَّثَنَا مُطَرِّفٌ عَنْ عَامِرٍ عَنِ الْبَرَاءِ بْنِ عَازِبٍ ؓ قَالَ ضَحَّى خَالٌ لِي يُقَالُ لَهُ أَبُو بُرْدَةَ قَبْلَ الصَّلاَةِ فَقَالَ

لَهُ رَسُولُ اللَّهِ ﷺ شَاتُكَ شَاةُ لَحْمٍ فَقَالَ يَا رَسُولَ اللَّهِ إِنَّ عِنْدِي دَاجِنًا جَذَعَةً مِنَ الْمَعَزِ قَالَ اذْبَحْهَا وَلَنْ تَصْلُحَ لِغَيْرِكَ ثُمَّ قَالَ مَنْ ذَبَحَ قَبْلَ الصَّلاَةِ فَإِنَّمَا يَذْبَحُ لِنَفْسِهِ وَمَنْ ذَبَحَ بَعْدَ الصَّلاَةِ فَقَدْ تَمَّ نُسُكُهُ وَأَصَابَ سُنَّةَ الْمُسْلِمِينَ  

تَابَعَهُ عُبَيْدَةُ عَنِ الشَّعْبِيِّ وَإِبْرَاهِيمَ وَتَابَعَهُ وَكِيعٌ عَنْ حُرَيْثٍ عَنِ الشَّعْبِيِّ وَقَالَ عَاصِمٌ وَدَاوُدُ عَنِ الشَّعْبِيِّ عِنْدِي عَنَاقُ لَبَنٍ وَقَالَ زُبَيْدٌ وَفِرَاسٌ عَنِ الشَّعْبِيِّ عِنْدِي جَذَعَةٌ وَقَالَ أَبُو الأَحْوَصِ حَدَّثَنَا مَنْصُورٌ عَنَاقٌ جَذَعَةٌ وَقَالَ ابْنُ عَوْنٍ عَنَاقٌ جَذَعٌ عَنَاقُ لَبَنٍ
suyuti:22176a
Request/Fix translation

  

السيوطي:٢٢١٧٦a

"مَن ضَحَّى قَبْلَ الصَّلاة، فَإنَّمَا ذَبَحَ لنَفْسه، وَمَنْ ذَبَحَ بَعْدَ الصَّلاةِ، فَقَدْ تَمَّ نُسُكُهُ وَأَصَابَ سُنَّةَ الْمُسْلمينَ".  

[م] مسلم عن البراءَ