Mishkat al-Masabih
Mishkat al-Masabih 1340
Arabic hadith text
وَعَنِ ابْنِ عُمَرَ قَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُصَلِّي فِي السَّفَرِ عَلَى رَاحِلَتِهِ حَيْثُ تَوَجَّهَتْ بِهِ يُومِئُ إِيمَاءً صَلَاةَ اللَّيْلِ إِلَّا الْفَرَائِضَ وَيُوتِرُ على رَاحِلَته
Translation
Ibn Umar reported that while travelling the Messenger of God would pray night prayers on his mount in whatever direction it carried him, indicating the movements with gestures. He did not pray the obligatory prayers that way. He also prayed witr on his mount. Al-Bukhari and Muslim transmitted it.