Ash-Shama'il Al-Muhammadiyah, Book 15, Hadith 106 (English)

It is related from Hazrat Anas radiyallahu anhu that the Prophet of Allah sallallahu alaihe wasallam, when entering Makkah as a conqueror, wore a helmet on his auspicious head. After he had removed it, a person came and said, "O' Messenger of Allah, Ibn Khatl is clinging to the cover of the Ka'bah."The Prophet of Allah sallallahu alaihe wasallam replied, "He is not of the ones who have been granted amnesty, kill him."Ibn Shihaab Zuhri says, "I have been informed that the Prophet of Allah sallallahu alaihe wasallam was not in the state of Ihraam.

حَدَّثَنَا عِيسَى بْنُ أَحْمَدَ، قَالَ‏:‏ حَدَّثَنَا عَبْدُ اللهِ بْنُ وَهْبٍ، قَالَ‏:‏ حَدَّثَنِي مَالِكُ بْنُ أَنَسٍ، عَنِ ابْنِ شِهَابٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّ رَسُولَ اللهِ صلى الله عليه وسلم، دَخَلَ مَكَّةَ عَامَ الْفَتْحِ، وَعَلَى رَأْسِهِ الْمِغْفَرُ، قَالَ‏:‏ فَلَمَّا نَزَعَهُ جَاءَهُ رَجُلٌ، فَقَالَ لَهُ‏:‏ ابْنُ خَطَلٍ مُتَعَلِّقٌ بِأَسْتَارِ الْكَعْبَةِ، فَقَالَ‏:‏ اقْتُلُوهُ، قَالَ ابْنُ شِهَابٍ‏:‏ وَبَلَغَنِي أَنَّ رَسُولَ اللهِ صلى الله عليه وسلم، لَمْ يَكُنْ يَوْمَئِذٍ مُحْرِمًا‏.‏

also referenced under: Book 16, Hadith 113 (In-Book)