Sahih al-Bukhari, Book 40, Hadith 2 (Bukhari 2214)

Narrated `Uqba bin Amir:

that the Prophet (ﷺ) had given him sheep to distribute among his companions and a male kid was left (after the distribution). When he informed the Prophet (ﷺ) of it, he said (to him), "Offer it as a sacrifice on your behalf."