Yaala bin Umaya reported,

The Messenger of Allah ﷺ saw a man bathing in an open space without a wrapper, so he ascended the pulpit, praised Allah and extolled Him, then said, "Indeed, Allah عز وجل is modest and concealing. He loves modesty and concealment. So when one of you bathes, let him cover himself."

Azami 1487

Hasan

عن يعلى بن أمية

أن رسول الله ﷺ رأى رجلا يغتسل بالبراز بلا إزار، فصعد المنبر، فحمد الله وأثنى عليه، ثم قال: إن الله عز وجل حيي ستير يحب الحياء والستر؛ فإذا اغتسل أحدكم فليستتر.

الأعظمي 1487حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Ghusl
Section
Covering oneself during ghusl, urination, and defecation
Numbering
Jami al-Kamil 1487 (2nd edition)
Azami 1487