Yahya related to me from Malik from Ibn Shihab from Anas ibnMalik that the Messenger of Allah, may Allah bless him and grant himpeace, entered Makka, in the Year of Victory, wearing a helmet, andwhen he took it off a man came to him and said, "Messenger of Allah,Ibn Khatal is clinging to the covers of the Kaba,'' and the Messengerof Allah, may Allah bless him and grant him peace, said, "Kill him."Malik commented, "The Messenger of Allah, may Allah bless himand grant him peace, was not in ihram at the time, and Allah knowsbest."
USC-MSA web (English) reference: Book 20, Hadith 256
Arabic reference: Book 20, Hadith 952