From Sahih Bukhari (Hadith 2500):
Narrated `Uqba bin 'Amir:that Allah's Messenger (ﷺ) gave him some sheep to distribute among his companions in order to sacrifice them and a kid was left. He told the Prophet (ﷺ) about it and the Prophet (ﷺ) said to him, "Sacrifice it on your behalf
Reference: Bukhari 2500