It was narrated that 'Aishah said:
"Mention was made in the presence of the Messenger of Allah (ﷺ) of some people who did not like to face towards the Qiblah with their private parts. He said: 'I think that they do that. Turn my seat (in the toilet) to face the Qiblah.'" (Da'if)
Another chain with similar wording.
'Abdullah bin 'Umar said:
"People say: 'When you sit to relieve yourself, do not face the Qiblah.' But one day I climbed up onto the roof of our house, and I saw the Messenger of Allah (ﷺ) sitting on two bricks (to relie…
It was narrated that Ibn 'Umar said:
"I saw the Messenger of Allah (ﷺ) in his (constructed) toilet, facing towards the Qiblah." (Da'if)
(One of the narrators) 'Eisa said: "I told that to Sha'bi, and he said: 'Ibn 'Umar s…
حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا وَهْبُ بْنُ جَرِيرٍ، حَدَّثَنَا أَبِي قَالَ، سَمِعْتُ مُحَمَّدَ بْنَ إِسْحَاقَ، عَنْ أَبَانَ بْنِ صَالِحٍ، عَنْ مُجَاهِدٍ، عَنْ جَابِرٍ، قَالَ نَهَى رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ أَنْ نَسْتَقْبِلَ الْقِبْلَةَ بِبَوْلٍ فَرَأَيْتُهُ قَبْلَ أَنْ يُقْبَضَ بِعَامٍ يَسْتَقْبِلُهَا .
It was narrated that Jabir said:
"The Messenger of Allah (ﷺ) forbade facing the Qiblah when urinating. But I saw him, one year before he died, facing the Qiblah (while urinating)."