Sahih Muslim
1323.01

Anas reported that Allah's Messenger (ﷺ) happened to pass by a person who was driving a sacrificial camel, whereupon he (the Holy Prophet) said:Ride on It. He said: It is a sacrificial camel. Thereupon he (the Holy Prophet) said twice or thrice: Ride on it

1323.02

Anas reported:Someone happened to pass by Allah's Apostle (ﷺ) with a sacrificial camel, or a sacrificial animal, whereupon he said: Ride on it. He said: It is a sacrificial camel, or animal, whereupon he said: (Ride) even if (it is a sacrificial camel)

1323.03

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