Sahih Muslim Book 7, Hadith Number 3050.

Chapter : It is permissible to ride the sacrificial animal (camel) for one who is in need of it.

Anas reported: Someone happened to pass by Allah’s Apostle (may peace be upon him) 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).