(4) باب مَا يُشْتَهَى مِنَ اللَّحْمِ يَوْمَ النَّحْرِ
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.
Reference: Sahih al-Bukhari 5549
In-book reference: Book 73, Hadith 5
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 7, Book 68, Hadith 457