Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:538Abū Bakr al-Ḥārithī al-Faqīh > ʿAlī b. ʿUmar al-Ḥāfiẓ > Muḥammad b. Ismāʿīl al-Fārisī > Isḥāq b. Ibrāhīm b. ʿAbbād > ʿAbd al-Razzāq > Zamʿah b. Ṣāliḥ > Salamah b. And Hrām > Ṭāwus

[Machine] The Messenger of Allah ﷺ said, "When one of you goes to relieve himself, let him not face the qibla (direction of prayer) or turn his back to it. Then let him cleanse himself with three stones or three sticks or three clumps of soil. Then let him say, 'Praise be to Allah who relieved me of what could harm me and kept me safe from that which could benefit me.'"  

البيهقي:٥٣٨أَخْبَرَنَا أَبُو بَكْرٍ الْحَارِثِيُّ الْفَقِيهُ أنا عَلِيُّ بْنُ عُمَرَ الْحَافِظُ ثنا مُحَمَّدُ بْنُ إِسْمَاعِيلَ الْفَارِسِيُّ ثنا إِسْحَاقُ بْنُ إِبْرَاهِيمَ بْنِ عَبَّادٍ ثنا عَبْدُ الرَّزَّاقِ عَنْ زَمْعَةَ بْنِ صَالِحٍ عَنْ سَلَمَةَ بْنِ وَهْرَامَ قَالَ سَمِعْتُ طَاوُسًا قَالَ

قَالَ رَسُولُ اللهِ ﷺ إِذَا أَتَى أَحَدُكُمُ الْبَرَازَ فَلْيُكْرِمْ قِبْلَةَ اللهِ ﷻ فَلَا يَسْتَقْبِلْهَا وَلَا يَسْتَدْبِرْهَا ثُمَّ لِيَسْتَطِبْ بِثَلَاثَةِ أَحْجَارٍ أَوْ بِثَلَاثَةِ أَعْوَادْ أَوْ ثَلَاثِ حَثَيَاتٍ مِنْ تُرَابٍ ثُمَّ لِيَقُلْ الْحَمْدُ لِلَّهِ الَّذِي أَخْرَجَ عَنَى مَا يُؤْذِينِي وَأَمْسَكَ عَلَيَّ مَا يَنْفَعُنِي هَكَذَا  

رَوَاهُ ابْنُ وَهْبٍ وَوَكِيعٌ وَغَيْرُهُمْ عَنْ زَمْعَةَ وَرَوَاهُ أَحْمَدُ بْنُ الْحَسَنِ الْمُضَرِيُّ وَهُوَ كَذَّابٌ مَتْرُوكٌ عَنْ أَبِي عَاصِمٍ عَنْ زَمْعَةَ وَرَوَاهُ سُفْيَانُ بْنُ عُيَيْنَةَ عَنْ سَلَمَةَ عَنْ طَاوُسٍ عَنِ ابْنِ عَبَّاسٍ عَنِ النَّبِيِّ ﷺ وَلَا يَصِحُّ وَصْلُهُ وَلَا رَفْعُهُ قَالَ عَلِيُّ بْنُ الْمَدِينِيِّ قُلْتُ لِسُفْيَانَ بْنِ عُيَيْنَةَ أَكَانَ زَمْعَةُ يَرْفَعُهُ؟ قَالَ نَعَمْ فَسَأَلْتُ سَلَمَةَ عَنْهُ فَلَمْ يَعْرِفْهُ يَعْنِي لَمْ يرْفَعْهُ