[Machine] I said to Shu'ayb ibn al-Harith, "I am amazed by the disagreement between Abu Hurayrah and Ibn Umar." He said, "Nafi' narrated from Ibn Umar that he entered the house of Hafsah and happened to face the direction of the qibla, and he saw the urine of the Messenger of Allah ﷺ. Abu Hurayrah said, 'When any one of you enters the toilet, he should not face or turn his back towards the qibla.'" Shu'ayb said, "They are both truthful. As for Abu Hurayrah's statement, he said it in the desert. Indeed, Allah has worshippers who are angels and jinn who pray. No one should face or turn his back towards them while urinating or defecating. As for the urine of the Messenger, it is just a house that is built and there is no qibla in it. And this is how it is."
قُلْتُ لِلشَّعْبِيِّ وَأَنَا أَعْجَبُ مِنَ اخْتِلَافِ أَبِي هُرَيْرَةَ وَابْنِ عُمَرَ قَالَ نَافِعٌ عَنِ ابْنِ عُمَرَ دَخَلْتُ بَيْتَ حَفْصَةَ فَحَانَتْ مِنِّي الْتِفَاتَةٌ فَرَأَيْتُ كَنِيفَ رَسُولِ اللهِ ﷺ مُسْتَقْبِلًا الْقِبْلَةَ 442 وَقَالَ أَبُو هُرَيْرَةَ إِذَا أَتَى أَحَدُكُمُ الْغَائِطَ فَلَا يَسْتَقْبِلِ الْقِبْلَةَ وَلَا يَسْتَدْبِرْهَا قَالَ الشَّعْبِيُّ صَدَقَا جَمِيعًا أَمَّا قَوْلُ أَبِي هُرَيْرَةَ فَهُوَ فِي الصَّحْرَاءِ إِنَّ لِلَّهِ عِبَادًا مَلَائِكَةً وَجِنًّا يُصَلُّونَ فَلَا يَسْتَقْبِلْهُمْ أَحَدٌ بِبَوْلٍ وَلَا غَائِطٍ وَلَا يَسْتَدْبِرْهُمْ وَأَمَّا كُنُفُهُمْ هَذِهِ فَإِنَّمَا هُوَ بَيْتٌ يُبْنَى لَا قِبْلَةَ فِيهِ وَهَكَذَا