Jabir (May Allah be pleased with him) reported: I went in an expedition along with the Prophet (PBUH) in the direction of  Najd. When Messenger of Allah (PBUH) returned, I also returned with him. Then the mid-day sleep overtook us in a valley full of prickly shrubs. Messenger of Allah (PBUH) got down and the people scattered around seeking shade under the trees. Messenger of Allah (PBUH) hang up his sword on the branch of a tree. We were enjoying a sleep when Messenger of Allah (PBUH) called us, and lo! There was a desert Arab bedouin near him. He (PBUH) said, "This man brandished my sword over me while I was asleep. I woke up and saw it in his hand unsheathed. He asked: `Who will protect you from me?' I replied: 'Allah' - thrice". He did not punish him and sat down.
[Al-Bukhari and Muslim].

 

 

  In another narration, Jabir (May Allah be pleased with him) said: We accompanied Messenger of Allah (PBUH) in the campaign of Dhat-ur-Riqa`. We left Messenger of Allah (PBUH) to take rest under a shady tree. One of the polytheists came to him. The sword of Messenger of Allah (PBUH) was hanging on a tree. He drew it and said: "Are you afraid of me?'' Messenger of Allah (PBUH) said, "No". Then he said: "Who will then protect you from me?'' Messenger of Allah (PBUH) replied, "Allah".

 And in a narration of Abu Bakr Al-Isma`ili, the polytheist asked: "Who will protect you from me?'' Messenger of Allah (PBUH) replied, "Allah.'' As soon as he said this, the sword fell down from his hand and Messenger of Allah (PBUH) catching the sword, asked him, "Who will protect you from me.'' He said, "Please forgive me.'' Messenger of Allah (PBUH) said, "On condition you testify that there is none worthy of worship but Allah and that I am His Messenger.'' He said, "No, but I promise you that I shall not fight against you, nor shall I be with those who fight with you". The Prophet (PBUH) let him go. He then went back to his companions and said: "I have come to you from one of the best of mankind".

Commentary:  Besides the Prophet's habit of pardoning, and gracious attitude, this Hadith mentions his utmost trust in Allah. It tells that one who has trust in Allah is helped by Him. Later on, the bedouin mentioned in the Hadith embraced Islam. In the battle of Dhat-ur-Riqa` which took place in the sixth year of the Hijra, due to intense heat and lack of footwear, the Companions of the Prophet (PBUH) wrapped their feet with pieces of cloth and for this reason it was called "War of patches of cloth (Dhat-ur-Riqa`)''. Some scholars have also given a different reason for this name.

Taken from Riyad-us-Salehin, Chapter 7