It was narrated from Ibn ‘Abbas that the Prophet (ﷺ) used to pray Witr while riding his mount. Sunan Ibn Majah Book 5, Hadith 399