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:334Abū Bakr b. Abū Shaybah And Muḥammad b. Bashhār > Yaḥyá b. Saʿīd al-Qaṭṭān > Abū Jaʿfar al-Khaṭmī > Abū Bakr b. Abū Shaybah Wāsmuh ʿUmayr b. Yazīd > ʿUmārah b. Khuzaymah Wa-al-Ḥārith b. Fuḍayl > ʿAbd al-Raḥman b. Abū Qurād

"I went for Hajj with the Prophet and he went far away to relieve himself."  

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

حَجَجْتُ مَعَ النَّبِيِّ ﷺ فَذَهَبَ لِحَاجَتِهِ فَأَبْعَدَ  


See similar narrations below:

Collected by Suyūṭī