[Machine] Regarding the Prophet ﷺ , he said, "When you go to the toilet, do not face the qibla (direction of prayer) with feces or urine, and do not turn your back towards it." Abu Ayyub said, "When we arrived in Sham (Syria), we found toilets that were built facing the qibla. So we would turn away (from the qibla) and seek forgiveness from Allah." Abu Muhammad (Imam Malik) said, "This narration from Abd al-Karim is more reliable, and Abd al-Karim is almost as trustworthy as someone whose narration is completely abandoned."
عَنِ النَّبِيِّ ﷺ قَالَ «إِذَا أَتَيْتُمُ الْغَائِطَ فَلَا تَسْتَقْبِلُوا الْقِبْلَةَ بِغَائِطٍ وَلَا بَوْلٍ وَلَا تَسْتَدْبِرُوهَا» قَالَ ثُمَّ قَالَ أَبُو أَيُّوبَ فَقَدِمْنَا الشَّامَ فَوَجَدْنَا مَرَاحِيضَ قَدْ بُنِيَتْ عِنْدَ الْقِبْلَةِ فَنَنْحَرِفُ وَنَسْتَغْفِرُ اللَّهَ قَالَ أَبُو مُحَمَّدٍ «وَهَذَا أَصَحُّ مِنْ حَدِيثِ عَبْدِ الْكَرِيمِ وَعَبْدُ الْكَرِيمِ شِبْهُ الْمَتْرُوكِ»