Mishkat al-Masabih
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.
وَعَنْ أَنَسٍ رَضِيَ اللَّهُ عَنْهُ قَالَ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا أَرَادَ الْحَاجَةَ لَمْ يَرْفَعْ ثَوْبَهُ حَتَّى يَدْنُوَ مِنَ الأَرْض. رَوَاهُ التِّرْمِذِيّ وَأَبُو دَاوُد والدارمي
Reference