The Prophet ﷺ entered Mecca in the year of the Conquest wearing a helmet on his head. He was told, "Ibn Khatal is clinging to the covers of the Kaabah."He said, "Kill him."
حدثنا قتيبة حدثنا مالك بن أنس عن ابن شهاب
دخل النبي ﷺ عام الفتح وعلى رأسه المغفر فقيل له ابن خطل متعلق بأستار الكعبة فقال اقتلوه
Agreed upon [by Bukhari and Muslim]. Muslim narrated it in the Book of Hajj, chapter on the permissibility of entering Makkah without ihram, hadith no. 1357, from Qutayba, and Bukhari, hadith no. 1846, from the hadith of Malik through the same chain, and it is found in Muwatta (1/423) narrated by Yahya.