Sayyiduna Jabir bin Abdullah (may Allah be pleased with him) says that the Prophet (peace and blessings be upon him) halted at a place, and the people went out looking for shade under the thorny trees. The people hung their weapons on the trees. A Bedouin took hold of his (peace and blessings be upon him) sword, drew it and said: "Who will protect you from me?" He (peace and blessings be upon him) said: "Allah." The Bedouin put the sword down. The Prophet (peace and blessings be upon him) called his Companions and informed them of what the Bedouin had done, while he was sitting beside him (peace and blessings be upon him). He (peace and blessings be upon him) did not punish him.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 18035