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.
malik:14-3Yaḥyá > Mālik > Yaḥyá b. Saʿīd > Muḥammad b. Yaḥyá b. Ḥabbān > ʿAmmih Wāsiʿ b. Ḥabbān > ʿAbdullāh b. ʿUmar

Yahya related to me from Malik from Yahya ibn Said from Muhammad ibn Yahya ibn Habban from his paternal uncle, Wasi ibn Habban, that Abdullah ibn Umar said, "People say, 'When you sit to relieve yourself, do not face the qibla or the Bayt al-Maqdis.' " Abdullah continued, "I went upon top of a house of ours and saw the Messenger of Allah ﷺ (squatting) on two unfired bricks facing the Bayt al-Maqdis, relieving himself." Ibn Umar added, "Perhaps you are one of those who pray folded on their haunches." Wasi replied, "I don't know, by Allah!"  

مالك:١٤-٣حَدَّثَنِي يَحْيَى عَنْ مَالِكٍ عَنْ يَحْيَى بْنِ سَعِيدٍ عَنْ مُحَمَّدِ بْنِ يَحْيَى بْنِ حَبَّانَ عَنْ عَمِّهِ وَاسِعِ بْنِ حَبَّانَ عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ

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


See similar narrations below:

Collected by Bukhārī, Muslim, Ibn Ḥibbān, Bayhaqī
bukhari:145ʿAbdullāh b. Yūsuf > Mālik > Yaḥyá b. Saʿīd > Muḥammad b. Yaḥyá b. Ḥabbān from his uncle Wāsiʿ b. Ḥabbān > ʿAbdullāh b. ʿUmar

People say, "Whenever you sit for answering the call of nature, you should not face the Qibla or Baitul-Maqdis (Jerusalem)." I told them. "Once I went up the roof of our house and I saw Allah's Apostle answering the call of nature while sitting on two bricks facing Baitul-Maqdis (Jerusalem) (but there was a screen covering him. ' (Fath-al-Bari, Page 258, Vol. 1).  

البخاري:١٤٥حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ قَالَ أَخْبَرَنَا مَالِكٌ عَنْ يَحْيَى بْنِ سَعِيدٍ عَنْ مُحَمَّدِ بْنِ يَحْيَى بْنِ حَبَّانَ عَنْ عَمِّهِ وَاسِعِ بْنِ حَبَّانَ عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ

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

muslim:266aʿAbdullāh b. Maslamah b. Qaʿnab > Sulaymān / Ibn Bilāl > Yaḥyá b. Saʿīd > Muḥammad b. Yaḥyá from his uncle Wāsiʿ b. Ḥabbān

I was offering my prayer in the mosque and Abdullah b. Umar was sitting there reclining with his back towards the Qibla. After completing my prayer. I went to him from one side. Abdullah said: People say when you go to the latrine, you should neither turn your face towards the Qibla nor towards Bait-ul-Maqdis. 'Abdullah said (farther): I went up to the roof of the house and saw the Messenger of Allah ﷺ squatting on two bricks for relieving himself with his face towards Bait-al-Maqdis.  

مسلم:٢٦٦aحَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ بْنِ قَعْنَبٍ حَدَّثَنَا سُلَيْمَانُ يَعْنِي ابْنَ بِلاَلٍ عَنْ يَحْيَى بْنِ سَعِيدٍ عَنْ مُحَمَّدِ بْنِ يَحْيَى عَنْ عَمِّهِ وَاسِعِ بْنِ حَبَّانَ قَالَ كُنْتُ أُصَلِّي فِي الْمَسْجِدِ وَعَبْدُ اللَّهِ بْنُ عُمَرَ مُسْنِدٌ ظَهْرَهُ إِلَى الْقِبْلَةِ فَلَمَّا قَضَيْتُ صَلاَتِي انْصَرَفْتُ إِلَيْهِ مِنْ شِقِّي فَقَالَ

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

ذِكْرُ الْخَبَرِ الدَّالِّ عَلَى أَنَّ الزَّجْرَ عَنِ اسْتِقْبَالِ الْقِبْلَةِ وَاسْتِدْبَارِهَا بِالْغَائِطِ، وَالْبَوْلِ إِنَّمَا زُجِرَ عَنْ ذَلِكَ فِي الصَّحَارِي دُونَ الْكُنُفِ وَالْمَوَاضِعِ الْمَسْتُورَةِ

ibnhibban:1421ʿUmar b. Saʿīd b. Sinān > Aḥmad b. Abū Bakr > Mālik > Yaḥyá b. Saʿīd > Muḥammad b. Ḥibbān from his uncle Wāsiʿ b. Ḥabbān > Ibn ʿUmar

[Machine] He used to say that some people would say, "If you sit for your need, do not face the Qibla (direction of prayer) or the Al-Aqsa Mosque. I climbed on the back of our house and saw the Messenger of Allah ﷺ sitting with his back towards the Qibla for his need."  

ابن حبّان:١٤٢١أَخْبَرَنَا عُمَرُ بْنُ سَعِيدِ بْنِ سِنَانٍ قَالَ أَخْبَرَنَا أَحْمَدُ بْنُ أَبِي بَكْرٍ عَنْ مَالِكٍ عَنْ يَحْيَى بْنِ سَعِيدٍ عَنْ مُحَمَّدِ بْنِ حِبَّانَ عَنْ عَمِّهِ وَاسِعِ بْنِ حَبَّانَ عَنِ ابْنِ عُمَرَ

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

bayhaqi:435Abū Zakariyyā b. Abū Isḥāq al-Muzakkī And ʾAbū Bakr Aḥmad b. al-Ḥasan al-Qāḍī > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Rabīʿ b. Sulaymān > al-Shāfiʿī > Mālik > Yaḥyá b. Saʿīd > Muḥammad b. Yaḥyá b. Ḥibbān from his uncle Wāsiʿ b. Ḥibbān > ʿAbdullāh b. ʿUmar

[Machine] He used to say that some people say, "When you sit down to relieve yourself, do not face the Qibla (direction of prayer) or the Al-Masjid Al-Haram (the Sacred Mosque)." Abdullah bin Umar said, "I have climbed upon the roof of our house and saw the Messenger of Allah ﷺ on two stones facing the Al-Masjid Al-Haram for his needs." Abu Abdullah Al-Hafiz informed us that Abu Bakr bin Ishaq informed us that Muhammad bin Ghaleb informed us that Abdullah bin Qa'nabi narrated it from Malik, and it was narrated by Al-Bukhari in his Sahih from Abdullah bin Yusuf from Malik.  

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

أَنَّهُ كَانَ يَقُولُ إِنَّ أُنَاسًا يَقُولُونَ إِذَا قَعَدْتَ عَلَى حَاجَتِكَ فَلَا تَسْتَقْبَلِ الْقِبْلَةَ وَلَا بَيْتَ الْمَقْدِسِ قَالَ عَبْدُ اللهِ بْنُ عُمَرَ لَقَدِ ارْتَقَيْتُ عَلَى ظَهْرِ بَيْتِنَا فَرَأَيْتُ رَسُولَ اللهِ ﷺ عَلَى لَبِنَتَيْنِ مُسْتَقْبِلًا بَيْتَ الْمَقْدِسِ لِحَاجَتِهِ 436 وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنا أَبُو بَكْرِ بْنُ إِسْحَاقَ أنا مُحَمَّدُ بْنُ غَالِبٍ أنا عَبْدُ اللهِ هُوَ الْقَعْنَبِيُّ عَنْ مَالِكٍ فَذَكَرَهُ بِإِسْنَادِهِ نَحْوَهُ وَرَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ عَبْدِ اللهِ بْنِ يُوسُفَ عَنْ مَالِكٍ