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 Messenger of Allah ﷺ! 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.
قَالَ النَّبِيُّ ﷺ يَوْمَ النَّحْرِ مَنْ كَانَ ذَبَحَ قَبْلَ الصَّلاَةِ فَلْيُعِدْ فَقَامَ رَجُلٌ فَقَالَ يَا رَسُولَ اللَّهِ إِنَّ هَذَا يَوْمٌ يُشْتَهَى فِيهِ اللَّحْمُ وَذَكَرَ جِيرَانَهُ وَعِنْدِي جَذَعَةٌ خَيْرٌ مِنْ شَاتَىْ لَحْمٍ فَرَخَّصَ لَهُ فِي ذَلِكَ فَلاَ أَدْرِي أَبَلَغَتِ الرُّخْصَةُ مَنْ سِوَاهُ أَمْ لاَ ثُمَّ انْكَفَأَ النَّبِيُّ ﷺ إِلَى كَبْشَيْنِ فَذَبَحَهُمَا وَقَامَ النَّاسُ إِلَى غُنَيْمَةٍ فَتَوَزَّعُوهَا أَوْ قَالَ فَتَجَزَّعُوهَا