Sahih Muslim, Book 15, Hadith 417 (Muslim 3182)

Anas (Allah be pleased with him) reported:

There happened to pass (a person) with a sacrificial camel by Allah's Apostle (ﷺ) and the rest of the hadith is the same.