Sahih al-Bukhari, Book 79, Hadith 46 (Bukhari 6037)

Narrated Ibn `Umar:

I saw Allah's Messenger (ﷺ) in the courtyard of the Ka`ba in the Ihtiba.' posture putting his hand round his legs like this.