Sahih Muslim | Book 3 | Chapter 18

Narrated by Jabir b. 'Abdullah
Jabir b. 'Abdullah reported: When the Ka'ba was constructed the Apostle of Allah (may peace be upon him) and Abbas went and lifted stones. Abbas said to the Messenger of Allah (may peace be upon him): Place your lower garment on your shoulder (so that you may protect yourself from the roughness and hardness of stones). He (the Holy Prophet) did this, but fell down upon the ground in a state of unconsciousness and his eyes were turned towards the sky. He then stood up and said: My lower garment, my lower garment; and this wrapper was tied around him. In the hadith transmitted by Ibn Rafi', there is the word: "On his neck" and he did not say: "Upon his shoulder.

Narrated by Jabir b. 'Abdullah
Jabir b. 'Abdullah reported: The Messenger of Allah (may peace be upon him) was carrying along with them (his people) stones for the Ka'ba and there was a waist wrapper around him. His uncle, "Abbas, said to him: O son of my brother! if you take off the lower garment and place it on the shoulders underneath the stones, it would be better. He (the Holy Prophet) took it off and placed it on his shoulder and fell down unconscious. He (the narrator) said: Never was he seen naked after that day.

Narrated by Al-Miswar b. Makhrama
Al-Miswar b. Makhrama reported: I was carrying a heavy stone and my lower garment was loose, and it, therefore, slipped off (so soon) that I could not place the stone (on the ground) and carry to its proper place. Upon this the Messenger of Allah (may peace be upon him) said: Return to your cloth (lower garment), take it (and tie it around your waist) and do not walk naked.