From Sahih Bukhari (Hadith 5555):
Narrated `Uqba bin 'Amir: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)
Reference: Bukhari 5555