Abdullah bin Umar reported,

The Messenger of Allah ﷺ used to perform voluntary prayers on his mount, facing whatever direction it happened to be heading, and he would also pray witr on it. However, he did not perform the obligatory prayers on it.

Azami 2893

Sahih

عن ابن عمر قال

كان رسول الله ﷺ يسبح على الراحلة قبل أي وجه توجه، ويوتر عليها، غير أنه لا يصلي عليها المكتوبة.

الأعظمي 2893صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Witr prayer
Section
Obligatory prayer is not performed on a mount, unlike voluntary prayer
Numbering
Jami al-Kamil 2893 (2nd edition)
Azami 2893