It is narrated from a Christian companion, may Allah be pleased with him, that the Noble Prophet, peace and blessings be upon him, forbade us from facing either of the two Qiblahs while urinating or defecating.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 23646
Hadith Gradingحکم دارالسلام:صحيح لغيره لكن بلفظ: القبلة بدل القبلتين، وهذا إسناد ضعيف لإبهام الأنصاري