Anas bin Sirin reported,

We met Anas when he arrived from Syria, receiving him at Ayn al-Tamr. I saw him praying on a donkey, with his face turned toward this side, meaning to the left of the qiblah.I said to him, "I saw you praying in a direction other than the qiblah."He replied, "Had I not seen the Messenger of Allah ﷺ do it, I would not have done it."

Azami 2899

Sahih

عن أنس بن سيرين قال

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

الأعظمي 2899صحيح
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 2899 (2nd edition)
Azami 2899