Language:
كتاب الدعوات
80  
Invocations
(19)
Chapter: "... And invoke Allah for them ..."
(19)
باب قَوْلِ اللَّهِ تَعَالَى ‏{‏وَصَلِّ عَلَيْهِمْ‏}‏
Sahih al-Bukhari 6333

Narrated Jarir:

Allah's Messenger (ﷺ) said to me. "Will you relieve me from Dhi-al-Khalasa? " Dhi-al-Khalasa was an idol which the people used to worship and it was called Al-Ka`ba al Yamaniyya. I said, "O Allah's Messenger (ﷺ) I am a man who can't sit firm on horses." So he stroked my chest (with his hand) and said, "O Allah! Make him firm and make him a guiding and well-guided man." So I went out with fifty (men) from my tribe of Ahrnas. (The sub-narrator, Sufyan, quoting Jarir, perhaps said, "I went out with a group of men from my nation.") and came to Dhi-al-Khalasa and burnt it, and then came to the Prophet (ﷺ) and said, "O Allah's Messenger (ﷺ)! I have not come to you till I left it like a camel with a skin disease." The Prophet then invoked good upon Ahmas and their cavalry (fighters).

حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا سُفْيَانُ، عَنْ إِسْمَاعِيلَ، عَنْ قَيْسٍ، قَالَ سَمِعْتُ جَرِيرًا، قَالَ قَالَ لِي رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ أَلاَ تُرِيحُنِي مِنْ ذِي الْخَلَصَةِ ‏"‏‏.‏ وَهْوَ نُصُبٌ كَانُوا يَعْبُدُونَهُ يُسَمَّى الْكَعْبَةَ الْيَمَانِيَةَ‏.‏ قُلْتُ يَا رَسُولَ اللَّهِ إِنِّي رَجُلٌ لاَ أَثْبُتُ عَلَى الْخَيْلِ، فَصَكَّ فِي صَدْرِي فَقَالَ ‏"‏ اللَّهُمَّ ثَبِّتْهُ وَاجْعَلْهُ هَادِيًا مَهْدِيًّا ‏"‏‏.‏ قَالَ فَخَرَجْتُ فِي خَمْسِينَ مِنْ أَحْمَسَ مِنْ قَوْمِي ـ وَرُبَّمَا قَالَ سُفْيَانُ فَانْطَلَقْتُ فِي عُصْبَةٍ مِنْ قَوْمِي ـ فَأَتَيْتُهَا فَأَحْرَقْتُهَا، ثُمَّ أَتَيْتُ النَّبِيَّ صلى الله عليه وسلم فَقُلْتُ يَا رَسُولَ اللَّهِ، وَاللَّهِ مَا أَتَيْتُكَ حَتَّى تَرَكْتُهَا مِثْلَ الْجَمَلِ الأَجْرَبِ‏.‏ فَدَعَا لأَحْمَسَ وَخَيْلِهَا‏.‏
Reference : Sahih al-Bukhari 6333
In-book reference : Book 80, Hadith 30
USC-MSA web (English) reference : Vol. 8, Book 75, Hadith 345
  (deprecated numbering scheme)