(1) باب وَقْتِهَا
Anas b. Malik reported that Allah's Messenger (ﷺ) offered the 'Id prayer and then delivered the sermon giving the command:
He who slaughtered the animal before prayer should slaughter (another animal as a sacrifice). The rest of the hadith is the same.
Reference: Sahih Muslim 1962 b
In-book reference: Book 35, Hadith 17
USC-MSA web (English) reference(deprecated numbering scheme): Book 22, Hadith 4834