Sahih al-Bukhari, Hadith 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).

حَدَّثَنَا إِسْمَاعِيلُ، قَالَ حَدَّثَنِي أَخِي، عَنْ سُلَيْمَانَ، عَنْ مُحَمَّدِ بْنِ أَبِي عَتِيقٍ، عَنِ ابْنِ شِهَابٍ، عَنْ سِنَانِ بْنِ أَبِي سِنَانٍ الدُّؤَلِيِّ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ ـ رضى الله عنهما ـ أَخْبَرَهُ أَنَّهُ، غَزَا مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم قِبَلَ نَجْدٍ، فَلَمَّا قَفَلَ رَسُولُ اللَّهِ صلى الله عليه وسلم قَفَلَ مَعَهُ، فَأَدْرَكَتْهُمُ الْقَائِلَةُ فِي وَادٍ كَثِيرِ الْعِضَاهِ، فَنَزَلَ رَسُولُ اللَّهِ صلى الله عليه وسلم، وَتَفَرَّقَ النَّاسُ فِي الْعِضَاهِ يَسْتَظِلُّونَ بِالشَّجَرِ، وَنَزَلَ رَسُولُ اللَّهِ صلى الله عليه وسلم تَحْتَ سَمُرَةٍ، فَعَلَّقَ بِهَا سَيْفَهُ، قَالَ جَابِرٌ فَنِمْنَا نَوْمَةً، ثُمَّ إِذَا رَسُولُ اللَّهِ صلى الله عليه وسلم يَدْعُونَا، فَجِئْنَاهُ فَإِذَا عِنْدَهُ أَعْرَابِيٌّ جَالِسٌ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ إِنَّ هَذَا اخْتَرَطَ سَيْفِي، وَأَنَا نَائِمٌ فَاسْتَيْقَظْتُ، وَهْوَ فِي يَدِهِ صَلْتًا، فَقَالَ لِي مَنْ يَمْنَعُكَ مِنِّي قُلْتُ اللَّهُ‏.‏ فَهَا هُوَ ذَا جَالِسٌ ‏" ‏‏.‏ ثُمَّ لَمْ يُعَاقِبْهُ رَسُولُ اللَّهِ صلى الله عليه وسلم‏.‏

sunnah.com