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.