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." (PT)
English reference (PT): Vol. 4, Book 25, Hadith 3104 (PT)
Arabic reference (PT): Book 25, Hadith 3223 (PT)