Narrated 'Abdullah bin Dinar:
On traveling, 'Abdullah bin 'Umar used to offer the prayer on his Mount by signs whatever direction it took. 'Abdullah said that the Prophet used to do so.
حَدَّثَنَا مُوسَى، قَالَ حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ مُسْلِمٍ، قَالَ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ دِينَارٍ، قَالَ كَانَ عَبْدُ اللَّهِ بْنُ عُمَرَ ـ رضى الله عنهما ـ يُصَلِّي فِي السَّفَرِ عَلَى رَاحِلَتِهِ، أَيْنَمَا تَوَجَّهَتْ يُومِئُ. وَذَكَرَ عَبْدُ اللَّهِ أَنَّ النَّبِيَّ صلى الله عليه وسلم كَانَ يَفْعَلُهُ.
Sahih al-Bukhari, 1096
Sahih al-Bukhari, Vol. 2, Book of Shortening Prayers, Hadith 201
Sahih al-Bukhari, Book of Shortening Prayers, Hadith 201