صحيح البخاري
From Sahih Bukhari (Hadith 469):
Narrated Abu Huraira:Allah's Messenger (ﷺ) sent some horse men to Najd and they brought a man called Thumama bin Uthal from Bani Hanifa. They fastened him to one of the pillars of the mosque
Reference: Bukhari 469