كتاب المغازى
64
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(31)
Chapter: The Ghazwa of Dhat-ur-Riqa
(31)
باب غَزْوَةُ ذَاتِ الرِّقَاعِ
وَهْيَ غَزْوَةُ مُحَارِبِ خَصَفَةَ مِنْ بَنِي ثَعْلَبَةَ مِنْ غَطَفَانَ، فَنَزَلَ نَخْلاً. وَهْيَ بَعْدَ خَيْبَرَ، لأَنَّ أَبَا مُوسَى جَاءَ بَعْدَ خَيْبَرَ.
Sahih al-Bukhari 4135

Narrated Jabir bin `Abdullah:

That he fought in a Ghazwa towards Najd along with Allah's Messenger (ﷺ) and when Allah's Messenger (ﷺ) returned, he too, returned along with him. The time of the afternoon nap overtook them when they were in a valley full of thorny trees. Allah's Messenger (ﷺ) dismounted and the people dispersed amongst the thorny trees, seeking the shade of the trees. Allah's Messenger (ﷺ) took shelter under a Samura tree and hung his sword on it. We slept for a while when Allah's Messenger (ﷺ) suddenly called us, and we went to him, to find a bedouin sitting with him. Allah's Messenger (ﷺ) said, "This (bedouin) took my sword out of its sheath while I was asleep. When I woke up, the naked sword was in his hand and he said to me, 'Who can save you from me?, I replied, 'Allah.' Now here he is sitting." Allah's Messenger (ﷺ) did not punish him (for that).

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