Sunan Ibn Majah, Hadith 313 ⓘ
It was narrated that Abu Hurairah said: "The Messenger of Allah said: 'I am to you like a father to his son, and I teach you. So when you go to relieve yourselves, do not face the Qiblah or turn your backs towards it.' He ordered us to use three pebbles, and he forbade us to use dung and bones, and he forbade cleaning oneself with the right hand."
حَدَّثَنَا مُحَمَّدُ بْنُ الصَّبَّاحِ، أَنْبَأَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنِ ابْنِ عَجْلاَنَ، عَنِ الْقَعْقَاعِ بْنِ حَكِيمٍ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " إِنَّمَا أَنَا لَكُمْ مِثْلُ الْوَالِدِ لِوَلَدِهِ أُعَلِّمُكُمْ إِذَا أَتَيْتُمُ الْغَائِطَ فَلاَ تَسْتَقْبِلُوا الْقِبْلَةَ وَلاَ تَسْتَدْبِرُوهَا " . وَأَمَرَ بِثَلاَثَةِ أَحْجَارٍ وَنَهَى عَنِ الرَّوْثِ وَالرِّمَّةِ وَنَهَى أَنْ يَسْتَطِيبَ الرَّجُلُ بِيَمِينِهِ .
also referenced under: Book 1, Hadith 334 (In-Book) & Volume 1, Book 1, Hadith 313 (DarusSalam)