Sahih al-Bukhari 5549
Narrated Anas bin Malik:
The Prophet (ﷺ) said on the day of Nahr, "Whoever has slaughtered his sacrifice before the prayer, should 
repeat it (slaughter another sacrifice)." A man got up and said, "O Allah's Messenger (ﷺ)! This is a day on 
which meat is desired." He then mentioned his neighbors saying, "I have a six month old ram which is 
to me better than the meat of two sheep." The Prophet (ﷺ) allowed him to slaughter it as a sacrifice, but I 
do not know whether this permission was valid for other than that man or not. The Prophet (ﷺ) then went 
towards two rams and slaughtered them, and then the people went towards some sheep and distributed 
them among themselves.
حَدَّثَنَا صَدَقَةُ، أَخْبَرَنَا ابْنُ عُلَيَّةَ، عَنْ أَيُّوبَ، عَنِ ابْنِ سِيرِينَ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم يَوْمَ النَّحْرِ ‏
"‏ مَنْ كَانَ ذَبَحَ قَبْلَ الصَّلاَةِ فَلْيُعِدْ ‏"‏‏.‏ فَقَامَ رَجُلٌ فَقَالَ يَا رَسُولَ اللَّهِ إِنَّ هَذَا يَوْمٌ يُشْتَهَى فِيهِ اللَّحْمُ ـ وَذَكَرَ جِيرَانَهُ ـ وَعِنْدِي جَذَعَةٌ خَيْرٌ مِنْ شَاتَىْ لَحْمٍ‏.‏ فَرَخَّصَ لَهُ فِي ذَلِكَ، فَلاَ أَدْرِي أَبَلَغَتِ الرُّخْصَةُ مَنْ سِوَاهُ أَمْ لاَ، ثُمَّ انْكَفَأَ النَّبِيُّ صلى الله عليه وسلم إِلَى كَبْشَيْنِ فَذَبَحَهُمَا، وَقَامَ النَّاسُ إِلَى غُنَيْمَةٍ فَتَوَزَّعُوهَا أَوْ قَالَ فَتَجَزَّعُوهَا‏.‏