Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ibnmajah:335Abū Bakr b. Abū Shaybah > ʿUbaydullāh b. Mūsá > Ismāʿīl b. ʿAbd al-Malik > Abū al-Zubayr > Jābir

"We went out on a journey with the Messenger of Allah, and the Messenger of Allah would not relieve himself until he had disappeared and could not be seen by anyone."  

ابن ماجة:٣٣٥حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى أَنْبَأَنَا إِسْمَاعِيلُ بْنُ عَبْدِ الْمَلِكِ عَنْ أَبِي الزُّبَيْرِ عَنْ جَابِرٍ قَالَ

خَرَجْنَا مَعَ رَسُولِ اللَّهِ ﷺ فِي سَفَرٍ وَكَانَ رَسُولُ اللَّهِ ﷺ لاَ يَأْتِي الْبَرَازَ حَتَّى يَتَغَيَّبَ فَلاَ يُرَى  


See similar narrations below:

Collected by Suyūṭī