صحیح ابن حبان
Ibn Hibban
كتاب الطهارة
Book of Purification
باب الاستطابة - ذكر الخبر الدال على أن الزجر عن استقبال القبلة واستدبارها بالغائط والبول إنما زجر عن ذلك في الصحارى دون الكنف والمواضع المستورة
Relieving oneself: Narration showing the prohibition of facing or turning back to the qiblah applies only in open areas, not in built toilets
1 hadith
Hadith 1421
Sayyiduna Abdullah bin Umar (may Allah be pleased with him) narrates: People say, "When you sit to relieve yourself, do not face the Qiblah or face Bayt al-Maqdis." However, once I climbed onto the roof of my house and I saw the Prophet Muhammad (peace and blessings be upon him) relieving himself facing Bayt al-Maqdis.