Miswar bin Makhrama reported,

I came carrying a heavy stone, wearing a light lower garment. My garment came undone while I was holding the stone, and I could not set the stone down until I had brought it to its place.The Messenger of Allah ﷺ said, "Go back to your garment and take it. Do not walk about naked."

Azami 1495

Sahih

عن المسور بن مخرمة قال

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

الأعظمي 1495صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Ghusl
Section
Safeguarding the private parts
Numbering
Jami al-Kamil 1495 (2nd edition)
Azami 1495