It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that when the Prophet (peace and blessings be upon him) intended to relieve himself, he would not lift his garment until he was close to the ground.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الطهارة / 458