حَدَّثَنَا الرَّبِيعُ بْنُ سُلَيْمَانَ، قَالَ: ثَنَا بِشْرُ بْنُ بَكْرٍ، عَنِ الْأَوْزَاعِيِّ، قَالَ: ثَنِي يَحْيَى بْنُ أَبِي كَثِيرٍ، قَالَ: ثَنِي مُحَمَّدُ بْنُ عَبْدِ الرَّحْمَنِ بْنِ ثَوْبَانَ قَالَ: ثَنَا جَابِرُ بْنُ عَبْدِ اللَّهِ، رَضِيَ اللَّهُ عَنْهُمَا قَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ يُصَلِّي التَّطَوُّعَ عَلَى ظَهْرِ رَاحِلَتِهِ حَيْثُ تَوَجَّهَتْ بِهِ فَإِذَا أَرَادَ أَنْ يُصَلِّيَ الْمَكْتُوبَةَ نَزَلَ فَاسْتَقْبَلَ الْقِبْلَةَ
Sayyiduna Jabir bin Abdullah (may Allah be pleased with both of them) narrates that the Messenger of Allah (peace and blessings be upon him) used to offer voluntary prayers on his mount, facing whichever direction it was facing. But when he intended to perform an obligatory prayer, he would dismount and face the Qiblah.