Anas bin Malik reported,

He saw the Messenger of Allah ﷺ praying upon a donkey while riding toward Khaybar, with the qiblah behind him.Abu Abdul-Rahman said, "We do not know of anyone who corroborated Amr bin Yahya in his statement that he was praying upon a donkey. As for the report of Yahya bin Saeed from Anas, the correct view is that it is mawquf, and Allah سبحانه وتعالى knows best."

Nasai 742

Sahih

أخبرنا محمد بن منصور قال حدثنا إسمعيل بن عمر قال حدثنا داود بن قيس عن محمد بن عجلان عن يحيى بن سعيد

عن أنس بن مالك

أنه رأى رسول الله ﷺ يصلي على حمار وهو راكب إلى خيبر والقبلة خلفه قال أبو عبد الرحمن لا نعلم أحدا تابع عمرو بن يحيى على قوله يصلي على حمار وحديث يحيى بن سعيد عن أنس الصواب موقوف والله سبحانه وتعالى أعلم

النسائي 742صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Mosques
Chapter
Prayer on a donkey
Numbering
Darussalam 742
Nasai 742