Anas bin Malik reported,

The Messenger of Allah ﷺ entered Mecca in the year of the Conquest wearing a helmet on his head. When he removed it, a man came to him and said, "Messenger of Allah, Ibn Khatal is clinging to the curtains of the Kaabah."He said, "Kill him."

Azami 8001

Sahih

عن أنس بن مالك

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

الأعظمي 8001صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Captives
Section
Killing of the dangerous captive who has committed crimes
Numbering
Jami al-Kamil 8001 (2nd edition)
Azami 8001