(3) Purification
كتاب الطهارة
(3b) Chapter: How to act when relieving oneself - Section 2
(2) باب آداب الخلاء - الفصل الثاني
Mishkat al-Masabih 344 
Jabir said that when the Prophet wished to relieve himself he went off where no one could see him. Abu Dawud transmitted it.
وَعَنْ جَابِرٍ قَالَ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا أَرَادَ الْبَرَازَ انْطَلَقَ حَتَّى لَا يرَاهُ أحد. رَوَاهُ أَبُو دَاوُد
 صَحِيح  (الألباني)حكم :
Reference : Mishkat al-Masabih 344
In-book reference : Book 3, Hadith 56