Full Sharh — Mishkat al-Masabih 414
وَعَن يعلى: أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ رَأَى رَجُلًا يَغْتَسِلُ بِالْبَرَازِ فَصَعِدَ الْمِنْبَرَ فَحَمِدَ الله وَأثْنى عَلَيْهِ وَقَالَ: «إِن الله عز وَجل حييّ حييّ ستير يحب الْحيَاء والستر فَإِذَا اغْتَسَلَ أَحَدُكُمْ فَلْيَسْتَتِرْ» . رَوَاهُ أَبُو دَاوُدَ وَالنَّسَائِيُّ وَفِي رِوَايَتِهِ قَالَ: «إِنَّ اللَّهَ سِتِّيرٌ فَإِذَا أَرَادَ أَحَدُكُمْ أَنْ يَغْتَسِلَ فَلْيَتَوَارَ بِشَيْءٍ»
English Translation
Ya'la told of God's messenger seeing a man washing in a public place, so he mounted the pulpit, and when he had praised and extolled God he said, “God is characterised by modesty and concealment and loves modesty and concealment, so when any of you washes he should conceal himself.” Abu Dawud and Nasa’i transmitted it, but in Nasa’i's version he said, “God is characterised by concealment, so when any of you intends to wash, he should hide behind something.”
Source
Mishkat al-Masabih(مشكاة المصابيح)
Purification
Hadith Number
414