The Prophet (ﷺ) sent some horsemen to Najd and they arrested and brought a man called Thumama bin Uthal from the tribe of Bani Hanifa, and they fastened him to one of the pillars of the Mosque.

Sahih al-Bukhari Book 44, Hadith 13