Narrated Jabir ibn Abdullah: When the Prophet (ﷺ) felt the need of relieving himself, he went far off where no one could see him.
Hadith In Arabic Text :
حدثنا مسدد بن مسرهد، حدثنا عيسى بن يونس، أخبرنا إسماعيل بن عبد الملك، عن أبي الزبير، عن جابر بن عبد الله، أن النبي صلى الله عليه وسلم كان إذا أراد البراز انطلق حتى لا يراه أحد .
Chapter : Purification (Kitab Al-Taharah) – كتاب الطهارة