Sahih Muslim, Book 002, Number 0504:
Quote:
Salman reported that it was said to him: Your Apostle (may peace be upon him) teaches you about everything, even about excrement. He replied: Yes, he has forbidden us to face the Qibla at the time of excretion or urination, or cleansing with right hand or with less than three pebbles, or with dung or bone.
But Muhammad took a dump while facing the first Qibla (Jeruslam - the sacred land of the prophets):
Volume 1, Book 4, Number 147:
Narrated 'Abdullah bin 'Umar:
People say, "Whenever you sit for answering the call of nature, you should not face the Qibla or Bait-ulMaqdis (Jerusalem)." I told them. "Once I went up the roof of our house and I saw Allah's Apostle answering the call of nature while sitting on two bricks facing Bait-ul-Maqdis (Jerusalem) (but there was a screen covering him. ' (FatehAl-Bari, Page 258, Vol. 1).
Volume 1, Book 4, Number 150:
Narrated 'Abdullah bin 'Umar:
I went up to the roof of Hafsa's house for some job and I saw Allah's Apostle answering the call of nature facing Sham (Syria, Jordan, Palestine and Lebanon regarded as one country) with his back towards the Qibla. (See Hadith No. 147).
Sahih Bukharo Book 4, source:
http://www.usc.edu/dept/MSA/fundamentals/hadithsunnah/bukhari/004.sbt.html#001.004.147
Screen or no screen, he was still facing Jerusalem. He could have turned a little bit to the right to face Mecca!