Sahih Bukhari – Hadith No : 1877

Narrated Anas bin Malik: Allah’s Apostle 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.”

Hadith In Arabic Text :

حدثنا عبد الله بن يوسف، أخبرنا مالك، عن ابن شهاب، عن أنس بن مالك رضى الله عنه أن رسول الله صلى الله عليه وسلم دخل عام الفتح، وعلى رأسه المغفر، فلما نزعه جاء رجل، فقال إن ابن خطل متعلق بأستار الكعبة‏.‏ فقال ‏”‏ اقتلوه ‏”‏‏.‏

Chapter : Penalty of Hunting while on Pilgrimage – كتاب جزاء الصيد