Mishkat al-Masabih
Mishkat al-Masabih 346
How to act when relieving oneself - Section 2
Arabic hadith text
وَعَنْ أَنَسٍ رَضِيَ اللَّهُ عَنْهُ قَالَ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا أَرَادَ الْحَاجَةَ لَمْ يَرْفَعْ ثَوْبَهُ حَتَّى يَدْنُوَ مِنَ الأَرْض. رَوَاهُ التِّرْمِذِيّ وَأَبُو دَاوُد والدارمي
Translation
Anas said that when the Prophet wanted to relieve himself he did not raise his garment till he was near the ground. Tirmidhi, Abu Dawud and Darimi transmitted it.