(1) باب وَقْتِهَا
Al-Bara' reported:
My maternal uncle Abu Burda sacrificed his animal before ('Id) prayer. Thereupon Allah's Messenger (ﷺ) 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.
Reference: Sahih Muslim 1961 a
In-book reference: Book 35, Hadith 6
USC-MSA web (English) reference(deprecated numbering scheme): Book 22, Hadith 4823