Sahih Bukhari

Hadith #1097

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