Abu Hurairah reported,

The Messenger of Allah ﷺ sent out a cavalry unit toward Najd, and they returned with a man from the tribe of Banu Hanifa called Thumama bin Uthal. They tied him to one of the pillars of the mosque.

Bukhari 469

Sahih

حدثنا قتيبة قال حدثنا الليث عن سعيد بن أبي سعيد أنه سمع

أبا هريرة يقول

بعث رسول الله ﷺ خيلا قبل نجد فجاءت برجل من بني حنيفة يقال له ثمامة بن أثال فربطوه بسارية من سواري المسجد

البخاري 469صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Prayer
Chapter
A polytheist entering the masjid
Numbering
Darussalam 469
Bukhari 469