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.
bayhaqi:440[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > Abū ʿAlī al-Ḥusayn b. ʿAlī al-Ḥāfiẓ > Muḥammad b. Isḥāq > Muḥammad b. Rāfiʿ > Yaʿqūb b. Ibrāhīm b. Saʿd [Chain 2] Abū Bakr b. al-Ḥārith al-Faqīh > ʿAlī b. ʿUmar al-Ḥāfiẓ > Yaʿqūb b. Ibrāhīm al-Bazzār > Muḥammad b. Shawkar > Yaʿqūb b. Ibrāhīm b. Saʿd from my father > Ibn Isḥāq > Abān b. Ṣāliḥ > Mujāhid > Jābir

[Machine] The Messenger of Allah ﷺ forbade us from facing or turning away from the qibla with our private parts when urinating. However, I saw him before his death, in the same year, urine while facing the qibla. This is not mentioned in the hadith of Abu Abdullah, except in its meaning. And it has been transmitted.  

البيهقي:٤٤٠أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنا أَبُو عَلِيٍّ الْحُسَيْنُ بْنُ عَلِيٍّ الْحَافِظُ أنا مُحَمَّدُ بْنُ إِسْحَاقَ ثنا مُحَمَّدُ بْنُ رَافِعٍ نا يَعْقُوبُ بْنُ إِبْرَاهِيمَ بْنِ سَعْدٍ ح وَأَخْبَرَنَا أَبُو بَكْرِ بْنُ الْحَارِثِ الْفَقِيهُ وَاللَّفْظُ لَهُ أَخْبَرَنَا عَلِيُّ بْنُ عُمَرَ الْحَافِظُ أنا يَعْقُوبُ بْنُ إِبْرَاهِيمَ الْبَزَّارُ نا مُحَمَّدُ بْنُ شَوْكَرٍ أنا يَعْقُوبُ بْنُ إِبْرَاهِيمَ بْنِ سَعْدٍ نا أَبِي عَنِ ابْنِ إِسْحَاقَ قَالَ حَدَّثَنِي أَبَانُ بْنُ صَالِحٍ عَنْ مُجَاهِدٍ عَنْ جَابِرٍ قَالَ

كَانَ رَسُولُ اللهِ ﷺ قَدْ نَهَانَا أَنْ نَسْتَقْبِلَ الْقِبْلَةَ أَوْ نَسْتَدْبِرَهَا بِفُرُوجِنَا إِذَا أَهْرَقْنَا الْمَاءَ ثُمَّ قَدْ رَأَيْتُهُ قَبْلَ مَوْتِهِ بِعَامٍ يَبُولُ مُسْتَقْبِلًا الْقِبْلَةِ وَلَيْسَ فِي حَدِيثِ أَبِي عَبْدِ اللهِ بِعَامٍ وَالْبَاقِي بِمَعْنَاهُ وَقَدْ  

أَخْرَجَهُ أَبُو دَاودَ فِي كِتَابِ السُّنَنِ مِنْ حَدِيثِ جَرِيرِ بْنِ حَازِمٍ عَنِ ابْنِ إِسْحَاقَ وَفِيهِ فَرَأَيْتُهُ قَبْلَ أَنْ يُقْبَضَ بِعَامٍ يَسْتَقْبِلُهَا