Anas bin Malik reported,

The Prophet ﷺ entered Makkah on the day of the Conquest wearing a helmet on his head. When he removed it, a man came to him and said, "Ibn Khatal is clinging to the covering of the Kaabah."He said, "Kill him."Malik said, "It appears, and Allah knows best, that the Messenger of Allah ﷺ was not in a state of ihram on that day."

Azami 9192

Sahih

عن أنس بن مالك

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

الأعظمي 9192صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Events between the expedition of Mutah and the expedition of the conquest of Makkah
Section
Those ordered to be killed on the day of the Conquest
Numbering
Jami al-Kamil 9192 (2nd edition)
Azami 9192