Mishkat al-Masabih

Anas said that the Prophet (ﷺ) entered , Mecca on the day of the Conquest with a helmet on his head, and when he pulled it off a man came to him and said, “Ibn Khatal (He was a renegade Muslim) is hanging on to the curtains of the Ka'ba.” He replied, “Kill him.” Bukhari and Muslim.

وَعَنْ أَنَسٍ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ دَخَلَ مَكَّةَ يَوْمَ الْفَتْحِ وَعَلَى رَأْسِهِ الْمِغْفَرُ فَلَمَّا نَزَعَهُ جَاءَ رَجُلٌ وَقَالَ: إِنَّ ابْنَ خَطَلٍ مُتَعَلِّقٌ بِأَسْتَارِ الْكَعْبَةِ. فَقَالَ: «اقتله»