It wasnarrated from Anas bin Malik that the Prophet (ﷺ) was brought asacrificial animal and he said (to the man driving the animal):
"Rideit." He said: "It is a sacrificial animal." He said: "Rideit." He said: "I saw him riding it with the Prophet (ﷺ), and there was a sandal (tied) around its neck."
English reference: Vol. 4, Book 25, Hadith 3104
Arabic reference: Book 25, Hadith 3223