Sunan Ibn Majah, Book 25, Hadith 223 (Ibn Majah 3106)

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.”