Prayers (Salat)

Bukhari :: Book 1 :: Volume 8 :: Hadith 388

Narrated Abu Aiyub Al-Ansari:

The Prophet said, "While defecating, neither face nor turn your back to the Qibla but face either east or west." Abu Aiyub added. "When we arrived in Sham we came across some lavatories facing the Qibla; therefore we turned ourselves while using them and asked for Allah's forgiveness."

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star