(16) باب تَسَتُّرِ الْمُغْتَسِلِ بِثَوْبٍ وَنَحْوِهِ
Umm Hani b. Abu Talib reported:
It was the day of the conquest (of Mecca) that she went to the Messenger of Allah (ﷺ) and he was staying at a higher part (of that city). The Messenger of Allah (ﷺ) got up for his bath. Fatimah held a curtain around him (in order to provide him privacy). He then put on his garments and wrapped himself with that and then offered eight rak'ahs of the forenoon prayer.
Reference: Sahih Muslim 336 b
In-book reference: Book 3, Hadith 87
USC-MSA web (English) reference(deprecated numbering scheme): Book 3, Hadith 664