2. Book of Ṣalāh

٢۔ كِتَابُ الصَّلَاةِ

2.181 [Machine] Prayer upon the departed

٢۔١٨١ بَابُ الصَّلَاةِ عَلَى الرَّاحِلَةِ

darimi:1554Yazīd b. Hārūn > Hishām al-Dastuwāʾī > Yaḥyá b. Abū Kathīr > Muḥammad b. ʿAbd al-Raḥman b. Thawbān > Jābir

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. (Using translation from Bukhārī 1099)  

الدارمي:١٥٥٤أَخْبَرَنَا يَزِيدُ بْنُ هَارُونَ أَنْبَأَنَا هِشَامٌ الدَّسْتُوَائِيُّ عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ عَنْ مُحَمَّدِ بْنِ عَبْدِ الرَّحْمَنِ بْنِ ثَوْبَانَ عَنْ جَابِرٍ

«أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ يُصَلِّي عَلَى رَاحِلَتِهِ نَحْوَ الْمَشْرِقِ فَإِذَا أَرَادَ أَنْ يُصَلِّيَ الْمَكْتُوبَةَ نَزَلَ فَاسْتَقْبَلَ الْقِبْلَةَ»  

darimi:1555ʿAbdullāh b. Ṣāliḥ > al-Layth > ʿUqayl > al-Zuhrī > ʿAbdullāh b. ʿĀmir b. Rabīʿah > ʿĀmir b. Rabīʿah

I saw the Prophet ﷺ on his Mount praying Nawafil by nodding his head, whatever direction he faced, but Messenger of Allah ﷺ never did the same in offering the compulsory prayers. (Using translation from Bukhārī 1097)  

الدارمي:١٥٥٥أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ صَالِحٍ حَدَّثَنِي اللَّيْثُ حَدَّثَنِي عُقَيْلٌ عَنْ الزُّهْرِيِّ قَالَ أَخْبَرَنِي عَبْدُ اللَّهِ بْنُ عَامِرِ بْنِ رَبِيعَةَ أَنَّ عَامِرَ بْنَ رَبِيعَةَ قَالَ

«رَأَيْتُ رَسُولَ اللَّهِ ﷺ يُسَبِّحُ وَهُوَ عَلَى الرَّاحِلَةِ وَيُومِئُ بِرَأْسِهِ قِبَلَ أَيِّ وَجْهٍ تَوَجَّهَ وَلَمْ يَكُنْ رَسُولُ اللَّهِ ﷺ يَصْنَعُ ذَلِكَ فِي الصَّلَاةِ الْمَكْتُوبَةِ»