Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) narrates from his father, Sayyiduna al-Abbas (may Allah be pleased with him), that he stated: "When Quraysh were building the Ka'bah, we were carrying stones to the House of Allah. The men would carry the stones and the women were transporting «al-shid», that is, mortar; «al-shid» is the clay or mixture that is filled in between the large stones (during construction)." Sayyiduna al-Abbas (may Allah be pleased with him) says: "My nephew Muhammad (peace and blessings be upon him) and I were carrying stones together. We would place the stones on our necks and (to protect ourselves from the stones' chafing) we would take off our waist-wrappers and put them under the stones; then, when people came into view, we would put our waist-wrappers back on. Meanwhile, Muhammad (peace and blessings be upon him) and I were together and he was walking in front of me, when suddenly he (peace and blessings be upon him) fell and lay face down. I ran to him and saw that he (peace and blessings be upon him) had his eyes fixed on the sky. I asked: 'What has happened to you?' He (peace and blessings be upon him) stood up and tied his waist-wrapper. Then the Prophet (peace and blessings be upon him) said: 'I have been forbidden from walking about naked.'" Sayyiduna al-Abbas (may Allah be pleased with him) says: "I kept this incident hidden from the people so that they would not think it was (Allah forbid) madness."
This hadith is narrated in Musnad Abi Ya'la (4221). Its chain contains Yahya bin al-Ala al-Bajali, who is da'if (weak); however, the basis of this incident is established in Sahih al-Bukhari (364) and Sahih Muslim (340) through the narration of Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both), in which it is mentioned that on this occasion he (peace and blessings be upon him) fell down unconscious and after that was never seen naked.
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب السيرة والمغازي / 4221
Hadith Gradingمحدثین:إسناده صحيح
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :إسناده صحيح. » «أخرجه الأحاديث المختارة للضياء برقم: 483، وأخرجه مسند البزار برقم: 1295»