Sahih Muslim, Book 2, Hadith 77 (Muslim 607)

Abu Huraira said:

When any one amongst you squats for answering the call of nature, he should neither turn his face towards the Qibla nor turn his back towards it.