Abu Hurairah reported,

The Prophet of Allah ﷺ saw a man driving a sacrificial camel and said, "Ride it."The man replied, "It is a sacrificial camel."The Prophet ﷺ said again, "Ride it."The narrator said, I saw him riding it alongside the Prophet ﷺ, with the sandal still hanging around its neck.

Azami 5347

Sahih

عن أبي هريرة

أن نبي الله ﷺ رأى رجلا يسوق بدنة، قال: اركبها. قال: إنها بدنة. قال: اركبها. قال: فلقد رأيته راكبها يساير النبي ﷺ والنعل في عنقها.

الأعظمي 5347صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Hajj
Chapter
Sacrificial animals and their rulings
Section
Permissibility of riding a sacrificial camel being led as a gift if one finds no other mount
Numbering
Jami al-Kamil 5347 (2nd edition)
Azami 5347