Jabir bin Abdullah reported,

When the Kaabah was being built, the Prophet ﷺ and Abbas were carrying stones. Abbas said to the Prophet ﷺ, "Place your lower garment over your shoulder to protect yourself from the stones."He did so, but then fell to the ground and his eyes turned upward toward the sky. He got up and said, "My garment, my garment!" So his garment was tied back around him.Ibn Rafi, in his version, said "on your neck" rather than "on your shoulder."

Muslim 771

Sahih

و حدثنا إسحق بن إبراهيم الحنظلي ومحمد بن حاتم بن ميمون جميعا عن محمد بن بكر قال أخبرنا ابن جريج ح و حدثنا إسحق بن منصور ومحمد بن رافع واللفظ لهما قال إسحق أخبرنا وقال ابن رافع حدثنا عبد الرزاق أخبرنا ابن جريج أخبرني عمرو بن دينار أنه سمع

جابر بن عبد الله يقول

ا لما بنيت الكعبة ذهب النبي ﷺ وعباس ينقلان حجارة فقال العباس للنبي ﷺ اجعل إزارك على عاتقك من الحجارة ففعل فخر إلى الأرض وطمحت عيناه إلى السماء ثم قام فقال إزاري إزاري فشد عليه إزاره قال ابن رافع في روايته على رقبتك ولم يقل على عاتقك

مسلم 771صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Menstruation
Chapter
Safeguarding the private parts
Numbering
Darussalam 771
Muslim 771