كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(62)
Chapter: Ghazwa Dhul-Khalasa
(62)
باب غَزْوَةُ ذِي الْخَلَصَةِ
Sahih al-Bukhari 4355

Narrated Jarir:

In the Pre-lslamic Period of Ignorance there was a house called Dhu-l-Khalasa or Al-Ka`ba Al- Yamaniya or Al-Ka`ba Ash-Shamiya. The Prophet (ﷺ) said to me, "Won't you relieve me from Dhu-l- Khalasa?" So I set out with one-hundred-and-fifty riders, and we dismantled it and killed whoever was present there. Then I came to the Prophet (ﷺ) and informed him, and he invoked good upon us and Al- Ahmas (tribe) .

حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا خَالِدٌ، حَدَّثَنَا بَيَانٌ، عَنْ قَيْسٍ، عَنْ جَرِيرٍ، قَالَ كَانَ بَيْتٌ فِي الْجَاهِلِيَّةِ يُقَالُ لَهُ ذُو الْخَلَصَةِ وَالْكَعْبَةُ الْيَمَانِيَةُ وَالْكَعْبَةُ الشَّأْمِيَّةُ، فَقَالَ لِي النَّبِيُّ صلى الله عليه وسلم ‏ "‏ أَلاَ تُرِيحُنِي مِنْ ذِي الْخَلَصَةِ ‏"‏‏.‏ فَنَفَرْتُ فِي مِائَةٍ وَخَمْسِينَ رَاكِبًا، فَكَسَرْنَاهُ وَقَتَلْنَا مَنْ وَجَدْنَا عِنْدَهُ، فَأَتَيْتُ النَّبِيَّ صلى الله عليه وسلم فَأَخْبَرْتُهُ، فَدَعَا لَنَا وَلأَحْمَسَ‏.‏
Reference : Sahih al-Bukhari 4355
In-book reference : Book 64, Hadith 381
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 641
  (deprecated numbering scheme)