Sahih Muslim – Hadith No : 6090

Jabir b. Abdullah reported: We went along with Allah’s Messenger (may peace be upon him) on an expedition towards Najd and Allah’s Messenger (may peace be upon him) found us in a valley abounding in thorny trees. Allah’s Messenger (may peace be upon him) stayed for rest under a tree and he suspended his sword by one of its branches under which he was taking rest. The persons scattered in the valley and they also began to take rest under the shade of trees, and Allah’s Messenger (may peace be upon him) said: A person came to me while I was asleep and he took hold of the sword. I woke up and found him standing upon my head and I had hardly become alert (and saw) that the sword was in his hand. And he said: Who can protect you from me? I said: Allah. He again said: Who can protect you from me? I said: Allah. He put his sword in the sheath (and you can see) this man sitting here. Allah’s Messenger (may peace be upon him) did not in any way touch him.

Hadith In Arabic Text :

وحدثني أبو عمران، محمد بن جعفر بن زياد – واللفظ له – أخبرنا إبراهيم، – يعني ابن سعد – عن الزهري، عن سنان بن أبي سنان الدؤلي، عن جابر بن عبد الله، قال غزونا مع رسول الله صلى الله عليه وسلم غزوة قبل نجد فأدركنا رسول الله صلى الله عليه وسلم في واد كثير العضاه فنزل رسول الله صلى الله عليه وسلم تحت شجرة فعلق سيفه بغصن من أغصانها – قال – وتفرق الناس في الوادي يستظلون بالشجر – قال – فقال رسول الله صلى الله عليه وسلم ‏”‏ إن رجلا أتاني وأنا نائم فأخذ السيف فاستيقظت وهو قائم على رأسي فلم أشعر إلا والسيف صلتا في يده فقال لي من يمنعك مني قال قلت الله ‏.‏ ثم قال في الثانية من يمنعك مني قال قلت الله ‏.‏ قال فشام السيف فها هو ذا جالس ‏”‏ ‏.‏ ثم لم يعرض له رسول الله صلى الله عليه وسلم ‏.‏

Chapter : The Book Pertaining to the Excellent Qualities of the Holy Prophet (may Peace be upon them) and His – كتاب الفضائل