صحيح البخاري Sahih Bukhari كتاب تقصير الصلاة The Book of Abridged Or Shortened Prayers (At-Taqsir)
بَابُ يَنْزِلُ لِلْمَكْتُوبَةِ:

(9) Chapter. To get down in order to offer the prescribed (compulsory) Salat (prayer).

3 hadith
Hadith 1097
حَدَّثَنَا يَحْيَى بْن بُكَيْرٍ ، قَالَ : حَدَّثَنَا اللَّيْثُ ، عَنْ عُقَيْلٍ ، عَنِ ابْنِ شِهَابٍ ، عَنْ عَبْدِ اللَّهِ بْنِ عَامِرِ بْنِ رَبِيعَةَ ، أَنَّ عَامِرَ بْنَ رَبِيعَةَ أَخْبَرَهُ ، قَالَ : رَأَيْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَهُوَ عَلَى الرَّاحِلَةِ يُسَبِّحُ يُومِئُ بِرَأْسِهِ قِبَلَ أَيِّ وَجْهٍ تَوَجَّهَ ، وَلَمْ يَكُنْ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَصْنَعُ ذَلِكَ فِي الصَّلَاةِ الْمَكْتُوبَةِ .
Narrated 'Amir bin Rabi`a: I saw the Prophet on his Mount praying Nawafil by nodding his head, whatever direction he faced, but Allah's Apostle never did the same in offering the compulsory prayers.
Hadith Reference Sahih Bukhari / The Book of Abridged Or Shortened Prayers (At-Taqsir) / Hadith: 1097
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1098
وَقَالَ اللَّيْثُ : حَدَّثَنِي يُونُسُ ، عَنْ ابْنِ شِهَابٍ ، قَالَ : قَالَ سَالِمٌ : كَانَ عَبْدُ اللَّهِ يُصَلِّي عَلَى دَابَّتِهِ مِنَ اللَّيْلِ وَهُوَ مُسَافِرٌ مَا يُبَالِي حَيْثُ مَا كَانَ وَجْهُهُ ، قَالَ ابْنُ عُمَرَ : " وَكَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُسَبِّحُ عَلَى الرَّاحِلَةِ قِبَلَ أَيِّ وَجْهٍ تَوَجَّهَ وَيُوتِرُ عَلَيْهَا ، غَيْرَ أَنَّهُ لَا يُصَلِّي عَلَيْهَا الْمَكْتُوبَةَ " .
Narrated Salim: At night `Abdullah bin `Umar used to offer the prayer on the back of his animal during the journey and never cared about the direction he faced. Ibn `Umar said, "Allah's Apostle used to offer the optional prayer on the back of his Mount facing any direction and also used to pray the witr on it but never offered the compulsory prayer on it."
Hadith Reference Sahih Bukhari / The Book of Abridged Or Shortened Prayers (At-Taqsir) / Hadith: 1098
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1099
حَدَّثَنَا مُعَاذُ بْنُ فَضَالَةَ ، قَالَ : حَدَّثَنَا هِشَامٌ ، عَنْ يَحْيَى ، عَنْ مُحَمَّدِ بْنِ عَبْدِ الرَّحْمَنِ بْنِ ثَوْبانَ ، قَالَ : حَدَّثَنِي جَابِرُ بْنُ عَبْدِ اللَّهِ ، " أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ يُصَلِّي عَلَى رَاحِلَتِهِ نَحْوَ الْمَشْرِقِ ، فَإِذَا أَرَادَ أَنْ يُصَلِّيَ الْمَكْتُوبَةَ نَزَلَ فَاسْتَقْبَلَ الْقِبْلَةَ " .
Narrated Jabir bin `Abdullah: The Prophet used to pray (the Nawafil) on his Mount facing east and whenever he wanted to offer the compulsory prayer, he used to dismount and face the Qibla.
Hadith Reference Sahih Bukhari / The Book of Abridged Or Shortened Prayers (At-Taqsir) / Hadith: 1099
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة