Mishkat al-Masabih
Mishkat al-Masabih 334, 335
عَنْ أَبِي أَيُّوبَ الْأَنْصَارِيِّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا أَتَيْتُمُ الْغَائِطَ فَلَا تَسْتَقْبِلُوا الْقِبْلَةَ وَلَا تَسْتَدْبِرُوهَا وَلَكِنْ شَرِّقُوا أَوْ غَرِّبُوا» قَالَ الشَّيْخ الإِمَام محيي السّنة : هَذَا الْحَدِيثُ فِي الصَّحْرَاءِ وَأَمَّا فِي الْبُنْيَانِ فَلَا بَأْس لما رُوِيَ: عَن عبد الله بن عمر قَالَ: ارْتَقَيْتُ فَوْقَ بَيْتِ حَفْصَةَ لِبَعْضِ حَاجَتِي فَرَأَيْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يقْضِي حَاجته مستدبر الْقبْلَة مُسْتَقْبل الشَّام
Abū Ayyūb al-Anṣārī reported that the Messenger of God said: ‘When you go to relieve yourselves, do not face the qibla or turn your backs to it; instead, face east or west.’
Shaykh, Imām, and Muḥyī al-Sunna said: ‘This report concerns open country. In buildings there is no harm, in view of the report from ʿAbd Allāh ibn ʿUmar, who said: “I climbed onto the roof of Ḥafṣa’s house for a need and saw the Messenger of God relieving himself with his back to the qibla and facing Syria.”’
Translation notes
The Arabic source includes the jurist’s distinction between open country and buildings, supported by Ibn ʿUmar’s observation. It supplies no grading for these reports.