Sahih al-Bukhari 2910
Narrated Jabir bin `Abdullah:
That he proceeded in the company of Allah's Messenger (ﷺ) towards Najd to participate in a Ghazwa. (Holybattle) 
When Allah's Messenger (ﷺ) returned, he too returned with him. Midday came upon them while they 
were in a valley having many thorny trees. Allah's Messenger (ﷺ) and the people dismounted and dispersed 
to rest in the shade of the trees. Allah's Messenger (ﷺ) rested under a tree and hung his sword on it. We all 
took a nap and suddenly we heard Allah's Messenger (ﷺ) calling us. (We woke up) to see a bedouin with 
him. The Prophet (ﷺ) said, "This bedouin took out my sword while I was sleeping and when I woke up, I 
found the unsheathed sword in his hand and he challenged me saying, 'Who will save you from me?' I 
said thrice, 'Allah.' The Prophet (ﷺ) did not punish him but sat down.
حَدَّثَنَا أَبُو الْيَمَانِ، أَخْبَرَنَا شُعَيْبٌ، عَنِ الزُّهْرِيِّ، قَالَ حَدَّثَنِي سِنَانُ بْنُ أَبِي سِنَانٍ الدُّؤَلِيُّ، وَأَبُو سَلَمَةَ بْنُ عَبْدِ الرَّحْمَنِ أَنَّ جَابِرَ بْنَ عَبْدِ اللَّهِ ـ رضى الله عنهما ـ أَخْبَرَ أَنَّهُ، غَزَا مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم قِبَلَ نَجْدٍ، فَلَمَّا قَفَلَ رَسُولُ اللَّهِ صلى الله عليه وسلم قَفَلَ مَعَهُ، فَأَدْرَكَتْهُمُ الْقَائِلَةُ فِي وَادٍ كَثِيرِ الْعِضَاهِ، فَنَزَلَ رَسُولُ اللَّهِ صلى الله عليه وسلم وَتَفَرَّقَ النَّاسُ يَسْتَظِلُّونَ بِالشَّجَرِ، فَنَزَلَ رَسُولُ اللَّهِ صلى الله عليه وسلم تَحْتَ سَمُرَةٍ وَعَلَّقَ بِهَا سَيْفَهُ وَنِمْنَا نَوْمَةً، فَإِذَا رَسُولُ اللَّهِ صلى الله عليه وسلم يَدْعُونَا وَإِذَا عِنْدَهُ أَعْرَابِيٌّ فَقَالَ ‏"‏ إِنَّ هَذَا اخْتَرَطَ عَلَىَّ سَيْفِي وَأَنَا نَائِمٌ، فَاسْتَيْقَظْتُ وَهْوَ فِي يَدِهِ صَلْتًا ‏"‏‏.‏ فَقَالَ مَنْ يَمْنَعُكَ مِنِّي فَقُلْتُ ‏"‏ اللَّهُ ‏"‏‏.‏ ثَلاَثًا وَلَمْ يُعَاقِبْهُ وَجَلَسَ‏.‏