Abu Hurairah reported,

The Prophet ﷺ sent a cavalry unit toward Najd, and they returned with a man from the tribe of Banu Hanifa named Thumama bin Uthal, the chief of the people of Yamama. They tied him to one of the pillars of the mosque.

Azami 3109

Sahih

عن أبي هريرة يقول

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

الأعظمي 3109صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Mosques
Section
Tying a mushrik captive to a pillar of the masjid if there is no prepared place for him
Numbering
Jami al-Kamil 3109 (2nd edition)
Azami 3109