[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 وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنا أَبُو بَكْرِ بْنُ إِسْحَاقَ أنا مُحَمَّدُ بْنُ غَالِبٍ أنا عَبْدُ اللهِ هُوَ الْقَعْنَبِيُّ عَنْ مَالِكٍ فَذَكَرَهُ بِإِسْنَادِهِ نَحْوَهُ وَرَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ عَبْدِ اللهِ بْنِ يُوسُفَ عَنْ مَالِكٍ