The Messenger of Allah ﷺ performed the witr prayer while riding.
حدثنا إسحاق قال سألت مالكا عن الرجل يوتر وهو راكب فقال أخبرني أبو بكر بن عمر بن عبد الرحمن بن عبد الله بن عمر بن الخطاب عن سعيد بن يسار
أن رسول الله ﷺ أوتر وهو راكب
No references are available.
Its isnad is sahih, and its meaning has already appeared several times through the narration of Malik with this same isnad, 5419, 4530, 5208, 5209, and see also 5822, 5826.