406 صحيح حديث ابْنِ عُمَرَ، قَالَ: كَانَ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ يُصَلِّي فِي السَّفَرِ عَلَى رَاحِلَتِهِ حَيْثُ تَوَجَّهَتْ بِهِ، يُومِئُ إِيمَاءَ، صَلاَةَ اللَّيْلِ إِلاَّ الْفَرَائِضَ، وَيُوتِرُ عَلَى رَاحِلَتِهِ
Sayyiduna Abdullah bin Umar (may Allah be pleased with them) narrated that the Prophet Muhammad (peace and blessings be upon him) used to perform the night prayer during travel on his mount by making gestures, regardless of which direction the mount was facing; he would continue to pray by gestures, but he did not perform the obligatory prayers in this manner, and he would perform Witr on his camel.
407 صحيح حديث عَامِرِ بْنِ رَبِيعَةَ، أَنَّهُ رَأَى النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ صَلَّى السُّبْحَةَ بِاللَّيْلِ فِي السَّفَرِ عَلَى ظَهْرِ رَاحِلَتِهِ حَيْتُ تَوَجَّهَتْ بِهِ
Sayyiduna Amir bin Rabi’ah (may Allah be pleased with him) narrated that I myself saw that the Messenger of Allah (peace and blessings of Allah be upon him) used to offer voluntary prayers during travel at night on his mount, facing in whatever direction it took him.
408 صحيح حديث أَنَسٍ عَنْ أَنَسِ بْنِ سِيرِينَ، قَالَ: اسْتَقْبَلْنَا أَنَسًا حِينَ قَدِمَ مِنَ الشَّأمِ فَلَقِينَاهُ بِعَيْنِ التَّمْرِ، فَرَأَيْتُهُ يُصَلِّي عَلَى حِمَارٍ، وَوَجْهُهُ مِنْ ذَا الْجَانِبِ، يَعْنِي عَنْ يَسَارِ الْقِبْلَةِ، فَقُلْتُ: رَأَيْتُكَ تُصَلِّي لِغَيْرِ الْقِبْلَةِ، فَقَالَ: لَوْلاَ أَنِّي رَأَيْتُ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ فَعَلَهُ لَمْ أَفْعَلْهُ
Anas bin Sirin says that when Sayyiduna Anas (may Allah be pleased with him) returned from Syria (after complaining about Hajjaj to the caliph), we met him at Ayn al-Tamr. We saw that he was performing prayer while riding a donkey, and his face was turned to the left of the Qiblah. Upon this, I said, "I have seen you praying with your face turned in a direction other than the Qiblah." He replied, "If I had not seen the Messenger of Allah (peace and blessings be upon him) doing so, I would not have done it myself."