Sahih al-Bukhari #1097
Shortening the Prayers (At-Taqseer) 18:17
Narrated 'Amir bin Rabi`a:
I saw the Prophet (ﷺ) on his Mount praying Nawafil by nodding his head, whatever direction he faced, but Allah's Messenger (ﷺ) never did the same in offering the compulsory prayers.