Sunan Ibn Majah – Hadith No : 341

It was narrated from Jabir bin ‘Abdullah: “Abu Sa’eed Al-Khudri narrated to me, that he bears witness that the Messenger of Allah forbade facing the Qiblah when defecating or urinating.'”

Hadith In Arabic Text :

حدثنا العباس بن الوليد الدمشقي، حدثنا مروان بن محمد، حدثنا ابن لهيعة، عن أبي الزبير، عن جابر بن عبد الله، حدثني أبو سعيد الخدري، أنه شهد على رسول الله صلى الله عليه وسلم أنه نهى أن نستقبل القبلة بغائط أو ببول ‏.‏

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