Sahih al-Bukhari 1105
Sahih al-Bukhari · Book 18: Shortening the Prayers (At-Taqseer) · Whoever offered Nawafil not after the compulsory Salat but before it
Narrated Salim bin `Abdullah:
حَدَّثَنَا أَبُو الْيَمَانِ ، قَالَ أَخْبَرَنَا شُعَيْبٌ ، عَنِ الزُّهْرِيِّ ، قَالَ أَخْبَرَنِي سَالِمُ بْنُ عَبْدِ اللَّهِ ، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ يُسَبِّحُ عَلَى ظَهْرِ رَاحِلَتِهِ حَيْثُ كَانَ وَجْهُهُ، يُومِئُ بِرَأْسِهِ ، وَكَانَ ابْنُ عُمَرَ يَفْعَلُهُ .
Ibn `Umar said, "Allah's Messenger (ﷺ) used to pray the Nawafil on the back of his Mount (carriage) by signs facing any direction." Ibn `Umar used to do the same.