Sahih Muslim | Book 2 | Hadith Number 504

Narrated by Salman
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.