Sunan an-Nasa'i, Volume 3, Book 24, Hadith 2870 (DarusSalam)

It was narrated from Ansas that the Prophet entered Makkah wearing a helmet. It was said that Ibn Katal was haging on to the drapes of the Kabah and he said: "Kill him."

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

sunnah.com