It is narrated from Sayyiduna Usamah bin Zayd (may Allah be pleased with him) that "The Messenger of Allah (peace and blessings be upon him) forbade facing the qiblah when relieving oneself or urinating."
It is narrated from Sayyiduna Usamah bin Zayd (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Do not face the qiblah when defecating or urinating."