Sahih Muslim

Sahih Muslim 1323 c

It is permissible to ride the sacrificial animal if necessary
Arabic hadith text
وَحَدَّثَنَاهُ أَبُو كُرَيْبٍ، حَدَّثَنَا ابْنُ بِشْرٍ، عَنْ مِسْعَرٍ، حَدَّثَنِي بُكَيْرُ بْنُ الأَخْنَسِ، قَالَ سَمِعْتُ أَنَسًا، يَقُولُ مُرَّ عَلَى النَّبِيِّ صلى الله عليه وسلم بِبَدَنَةٍ ‏.‏ فَذَكَرَ مِثْلَهُ
Translation
Anas (Allah be pleased with him) reported

There happened to pass (a person) with a sacrificial camel by Allah's Apostle (ﷺ) and the rest of the hadith is the same.