Messenger of Allah ﷺ entered Mecca in the year of its Conquest wearing an Arabian helmet on his head and when the Prophet ﷺ took it off, a person came and said, "Ibn Khatal is holding the covering of the Kaʿba (taking refuge in the Kaʿba)." The Prophet ﷺ said, "Kill him."
أَنَّ رَسُولَ اللَّهِ ﷺ دَخَلَ عَامَ الْفَتْحِ وَعَلَى رَأْسِهِ الْمِغْفَرُ فَلَمَّا نَزَعَهُ جَاءَ رَجُلٌ فَقَالَ إِنَّ ابْنَ خَطَلٍ مُتَعَلِّقٌ بِأَسْتَارِ الْكَعْبَةِ فَقَالَ اقْتُلُوهُ