Sunan an-Nasa'i #490
The Book of Salah 5:43
It was narrated from Salim that his father said:
"The Messenger of Allah (ﷺ) used to pray voluntary prayers (Usabbih) while riding his mount, facing whatever direction it was facing, and he would pray Witr likewise, but he would not offer the prescribed prayers on it."