Sunan Ibn Majah – Hadith No : 346

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.

Hadith In Arabic Text :

حدثنا أبو بكر بن أبي شيبة، وعلي بن محمد، قالا حدثنا وكيع، عن حماد بن سلمة، عن خالد الحذاء، عن خالد بن أبي الصلت، عن عراك بن مالك، عن عائشة، قالت ذكر عند رسول الله صلى الله عليه وسلم قوم يكرهون أن يستقبلوا بفروجهم القبلة فقال ‏”‏ أراهم قد فعلوها استقبلوا بمقعدتي القبلة ‏”‏ ‏.‏

Chapter : The Book of Purification and its Sunnah – كتاب الطهارة وسننها