It was narrated from Abu Hurairah that the Prophet (ﷺ) saw a man driving a camel and said: “Ride it.” He said: “It is a sacrificial animal.” He said: “Ride it, woe to you!”
It was narrated from Anas bin Malik that the Prophet (ﷺ) was brought a sacrificial animal and he said (to the man driving the animal): “Ride it.” He said: “It is a sacrificial animal.” He said: “Ride it.” He said: “I saw him riding it with the Prophet (ﷺ), and there was a sandal (tied) around its neck.”