I was going to Mecca in the company of ʿAbdullah bin ʿUmar and when I apprehended the approaching dawn, I dismounted and offered the witr prayer and then joined him. ʿAbdullah bin ʿUmar said, "Where have you been?" I replied, "I apprehended the approaching dawn so I dismounted and prayed the witr prayer." ʿAbdullah said, "Isn't it sufficient for you to follow the good example of Messenger of Allah ﷺ?" I replied, "Yes, by Allah." He said, "Messenger of Allah ﷺ used to pray witr on the back of the camel (while on a journey)."
سَعِيدٌ فَلَمَّا خَشِيتُ الصُّبْحَ نَزَلْتُ فَأَوْتَرْتُ ثُمَّ لَحِقْتُهُ فَقَالَ عَبْدُ اللَّهِ بْنُ عُمَرَ أَيْنَ كُنْتَ فَقُلْتُ خَشِيتُ الصُّبْحَ فَنَزَلْتُ فَأَوْتَرْتُ فَقَالَ عَبْدُ اللَّهِ أَلَيْسَ لَكَ فِي رَسُولِ اللَّهِ ﷺ أُسْوَةٌ حَسَنَةٌ فَقُلْتُ بَلَى وَاللَّهِ قَالَ فَإِنَّ رَسُولَ اللَّهِ ﷺ كَانَ يُوتِرُ عَلَى الْبَعِيرِ