Sahih al-Bukhari #1104
Shortening the Prayers (At-Taqseer) 18:24
Narrated `Abdullah bin Amir that his father had told him that he had seen the Prophet (p.b.u.h) praying Nawafil at night on the back of his Mount on a journey, facing whatever direction it took.