It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) forbade us from facing or turning our backs towards the Ka'bah when relieving ourselves. But after that, one year before his passing, I myself saw the Prophet (peace and blessings be upon him) urinating while facing the Qiblah.