(Imām Bukhārī narrates): Abdul A'la bin Hammad narrated the hadith to us, he said: Wuhaib narrated the hadith to us, he said: Musa bin Uqbah narrated the hadith to us, from Nafi', he said that
Hazrat Ibn Umar (Allāh be pleased with them both) used to offer prayer upon his mount, and he used to offer Witr upon it too, and he informed that the Prophet ﷺ also used to do the same.
حَدَّثَنَا عَبْدُ الأَعْلَى بْنُ حَمَّادٍ، قَالَ حَدَّثَنَا وُهَيْبٌ، قَالَ حَدَّثَنَا مُوسَى بْنُ عُقْبَةَ، عَنْ نَافِعٍ، قَالَ
وَكَانَ ابْنُ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا يُصَلِّي عَلَى رَاحِلَتِهِ، وَيُوتِرُ عَلَيْهَا ، وَيُخْبِرُ أَنَّ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وسلَّمَ كَانَ يَفْعَلُهُ
Reference: Sahih Al Bukhari 1095