Sahih al-Bukhari Book 73, Hadith 11
that the Prophet (ﷺ) gave him some sheep to distribute among his companions to slaughter as sacrifices
(`Id--al--Adha). A kid goat was left and he told the Prophet (ﷺ) of that whereupon he said to him, "Slaughter it
as a sacrifice (on your behalf).
Allah's Messenger (ﷺ) came towards two horned rams having black and white colors and slaughtered them with his own hands.
An uncle of mine called Abu Burda, slaughtered his sacrifice before the `Id prayer. So Allah's Messenger (ﷺ) said to him, "Your (slaughtered) sheep was just mutton (not a sacrifice)." Abu Burda said, "O Allah's Apostle! I have got a domestic kid goat." The Prophet (ﷺ) said, "Slaughter it (as a sacrifice) but it will not be permissible for anybody other than you" The Prophet (ﷺ) added, "Whoever slaughtered his sacrifice before the (`Id) prayer, he only slaughtered for himself, and whoever slaughtered it after the prayer, he offered his sacrifice properly and followed the tradition of the Muslims."