It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) entered Makkah in the year it was conquered, wearing a helmet on his head. When he (peace and blessings be upon him) took it off, a man said: O Messenger of Allah (peace and blessings be upon him), Ibn Khatal is clinging to the coverings of the Ka'bah. He (peace and blessings be upon him) said: "Kill him."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13373