Mishkat al-Masabih 347
وَعَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: إِنَّمَا أَنَا لَكُمْ مِثْلُ الْوَالِدِ لِوَلَدِهِ أُعَلِّمُكُمْ إِذَا أَتَيْتُمُ الْغَائِطَ فَلَا تَسْتَقْبِلُوا الْقِبْلَةَ وَلَا تَسْتَدْبِرُوهَا وَأَمَرَ بِثَلَاثَةِ أَحْجَارٍ وَنَهَى عَنِ الرَّوْثِ وَالرِّمَّةِ وَنَهَى أَنْ يَسْتَطِيبَ الرَّجُلُ بِيَمِينِهِ. رَوَاهُ ابْنُ مَاجَهْ وَالدَّارِمِيُّ
From Abu Hurayrah, who said: The Messenger of Allah ﷺ said: "I am to you only like a father to his child; I teach you. When you go to relieve yourselves, do not face the qiblah nor turn your backs to it." And he commanded [the use of] three stones, and forbade dung and old bones, and forbade a man to clean himself with his right hand. Reported by Ibn Majah and ad-Darimi.