(18) باب دُخُولِ الْحَرَمِ وَمَكَّةَ بِغَيْرِ إِحْرَامٍ
Narrated Anas bin Malik:
Allah's Messenger (ﷺ) entered Mecca in the year of its Conquest wearing an Arabian helmet on his head and when the Prophet (ﷺ) took it off, a person came and said, "Ibn Khatal is holding the covering of the Ka`ba (taking refuge in the Ka`ba)." The Prophet (ﷺ) said, "Kill him."
Reference: Sahih al-Bukhari 1846
In-book reference: Book 28, Hadith 26
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 3, Book 29, Hadith 72