Narrated Jabir ibn Abdullah:
When the Prophet (ﷺ) felt the need of relieving himself, he went far off where no one could see him.