Circumstances which make ablution necessary - Section 1
وَعَنْ بُرَيْدَةَ: أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ صَلَّى الصَّلَوَات يَوْم الْفَتْح بِوضُوء وَاحِد وَمسح عل خُفَّيْهِ فَقَالَ لَهُ عُمَرُ: لَقَدْ صَنَعْتَ الْيَوْمَ شَيْئًا لَمْ تَكُنْ تَصْنَعُهُ فَقَالَ: «عَمْدًا صَنَعْتُهُ يَا عمر» . رَوَاهُ مُسلم
Buraida said that God’s messenger prayed the prayers on the day of the Conquest [The conquest of Mecca in the year 8 A.H.] with one ablution and wiped over his shoes. ‘Umar said, “You have done something today that you have not been accustomed to do.” He replied, “I have done it purposely, ‘Umar.” Muslim transmitted it.
Circumstances which make ablution necessary - Section 1
وَعَن سُوَيْد ابْن النُّعْمَان: أَنَّهُ خَرَجَ مَعَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَامَ خَيْبَرَ حَتَّى إِذَا كَانُوا بالصهباء وَهِي أَدْنَى خَيْبَرَ صَلَّى الْعَصْرَ ثُمَّ دَعَا بِالْأَزْوَادِ فَلَمْ يُؤْتَ إِلَّا بِالسَّوِيقِ فَأَمَرَ بِهِ فَثُرِيَ فَأَكَلَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَأَكَلْنَا ثُمَّ قَامَ إِلَى الْمَغْرِبِ فَمَضْمَضَ وَمَضْمَضْنَا ثمَّ صلى وَلم يتَوَضَّأ. رَوَاهُ البُخَارِيّ
Suwaid b. an-Nu‘man said that he went out with God’s messenger in the year of Khaibar [Khaibar was taken in 7 A.H.], and when they were at as-Sahba’ which is very near Khaibar, he prayed the afternoon prayer. He then called for food, and when only some flour was produced, he ordered it to be moistened; then God’s messenger and the company ate. After that he got up to pray the sunset prayer, and when he and the company had rinsed their mouths he prayed without performing ablution. Bukhari transmitted it.
Circumstances which make ablution necessary - Section 2
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا وُضُوءَ إِلَّا مِنْ صَوْتٍ أَوْ رِيحٍ» . رَوَاهُ أَحْمد وَالتِّرْمِذِيّ
Abu Huraira reported God’s messenger as saying, “No ablution is necessary except when one makes a sound or breaks wind.” Ahmad and Tirmidhi transmitted it.
Circumstances which make ablution necessary - Section 2
وَعَن عَلِيٍّ قَالَ: سَأَلَتْ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَنْ الْمَذْيِ فَقَالَ: «مِنَ الْمَذْيِ الْوُضُوءُ وَمِنَ الْمَنِيِّ الْغسْل» . رَوَاهُ التِّرْمِذِيّ
‘Ali said: I asked the Prophet (ﷺ) about prostatic fluid and he replied, “For prostatic fluid ablution is necessary, but for seminal emission washing.” Tirmidhi transmitted it.
Circumstances which make ablution necessary - Section 2
وَعَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم: «مِفْتَاحُ الصَّلَاةِ الطُّهُورُ وَتَحْرِيمُهَا التَّكْبِيرُ وَتَحْلِيلُهَا التَّسْلِيمُ» . رَوَاهُ أَبُو دَاوُد وَالتِّرْمِذِيّ والدارمي وَرَوَاهُ ابْنُ مَاجَهْ عَنْهُ وَعَنْ أَبِي سَعِيدٍ
He also reported God's messenger as saying, “The key of prayer is purification, saying ‘God is most great’ makes it a sacred state, and the salutation brings the sacred state to an end.” Abu Dawud, Tirmidhi and Darimi transmitted it, and Ibn Majah transmitted it both from 'Ali and from Abu Sa'id.
Circumstances which make ablution necessary - Section 2
وَعَن عَليّ بن طلق قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم: «إِذا فسا أحدكُم فَليَتَوَضَّأ وَلَا تأتو النِّسَاءَ فِي أَعْجَازِهِنَّ» . رَوَاهُ التِّرْمِذِيُّ وَأَبُو دَاوُدَ
‘Ali b. Talq reported God’s messenger as saying, “When any of you breaks wind he should perform ablution, and you must not have intercourse with women by their buttocks.” Tirmidhi and Abu Dawud transmitted it.
Circumstances which make ablution necessary - Section 2
وَعَن مُعَاوِيَة بن أبي سُفْيَان أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: قَالَ: «إِنَّمَا الْعَيْنَانِ وِكَاءُ السَّهِ فَإِذَا نَامَتِ الْعَيْنُ اسْتطْلقَ الوكاء» . رَوَاهُ الدِّرَامِي
Mu'awiya b. Abu Sufyan reported the Prophet (ﷺ) as saying, “The eyes are the leather strap of the anus, and when the eye sleeps the leather strap is loosened.” Darimi transmitted it.
Circumstances which make ablution necessary - Section 2
وَعَنْ عَلِيٍّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «وِكَاءُ السَّهِ الْعَيْنَانِ فَمَنْ نَامَ فَليَتَوَضَّأ» . رَوَاهُ أَبُو دَاوُد قَالَ الشَّيْخ الإِمَام محيي السّنة C: هَذَا فِي غير الْقَاعِد لما صَحَّ: عَن أنس قَالَ: كَانَ أَصَابَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَنْتَظِرُونَ الْعشَاء حَتَّى تخفق رؤوسهم ثمَّ يصلونَ وَلَا يتوضؤون. رَوَاهُ أَبُو دَاوُد وَالتِّرْمِذِيّ إِلَّا أَنه ذكرفيه: ينامون بدل: ينتظرون الْعشَاء حَتَّى تخفق رؤوسهم
‘Ali reported God's messenger as saying, “The leather strap of the anus is the eyes, so one who sleeps should perform ablution. Abu Dawud transmitted it, and the shaikh and imam Muhyi as-Sunna said that this does not refer to one who is sitting because of the sound tradition from Anas who said that the Companions of God’s messenger dozed while waiting for nightfall, then prayed without performing ablution. Abu Dawud and Tirmidhi transmitted it, but Tirmidhi said “they slept” instead of saying that they “dozed while waiting for nightfall.”
Circumstances which make ablution necessary - Section 2
وَعَنِ ابْنِ عَبَّاسٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " إِنَّ الْوُضُوءَ عَلَى مَنْ نَامَ مُضْطَجِعًا فَإِنَّهُ إِذَا اضْطَجَعَ اسْتَرْخَتْ مفاصله. رَوَاهُ التِّرْمِذِيّ وَأَبُو دَاوُد
Ibn ‘Abbas reported God’s messenger as saying, “Ablution is necessary for one who sleeps lying down, for when he lies down his joints are relaxed.” Tirmidhi and Abu Dawud transmitted it.
Circumstances which make ablution necessary - Section 2
وَعَن بسرة قَالَتْ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا مَسَّ أَحَدُكُمْ ذَكَرَهُ فَلْيَتَوَضَّأْ» . رَوَاهُ مَالِكٌ وَأَحْمَدُ وَأَبُو دَاوُدَ وَالتِّرْمِذِيُّ وَالنَّسَائِيُّ وَابْنُ مَاجَه والدارمي
Busra daughter of Safwan b. Naufal reported God’s messenger as saying, “If any of you touches his penis he must perform ablution.” Malik, Ahmad, Abu Dawud, Tirmidhi, Nasa’i, Ibn Majah and Darimi transmitted it.
Circumstances which make ablution necessary - Section 2
وَعَن طلق بن عَليّ قَالَ: سُئِلَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَنْ مَسِّ الرَّجُلِ ذَكَرَهُ بَعْدَمَا يَتَوَضَّأُ. قَالَ: «وَهَلْ هُوَ إِلَّا بَضْعَةٌ مِنْهُ» . رَوَاهُ أَبُو دَاوُدَ وَالتِّرْمِذِيُّ وَالنَّسَائِيُّ وَرَوَى ابْنُ مَاجَهْ نَحوه قَالَ الشَّيْخُ الْإِمَامُ مُحْيِي السُّنَّةِ رَحِمَهُ اللَّهُ: هَذَا مَنْسُوخٌ لِأَنَّ أَبَا هُرَيْرَةَ أَسْلَمَ بَعْدَ قدوم طلق وَقد روى أَبُو هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ الله صلى الله عَلَيْهِ وَسلم: عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «إِذَا أَفْضَى أَحَدُكُمْ بِيَدِهِ إِلَى ذَكَرِهِ لَيْسَ بَيْنَهُ وَبَيْنَهَا شَيْءٌ فَلْيَتَوَضَّأْ» . رَوَاهُ الشَّافِعِيُّ والدراقطني وَرَوَاهُ النَّسَائِيُّ عَنْ بُسْرَةَ إِلَّا أَنَّهُ لَمْ يذكر: «لَيْسَ بَينه بَينهَا شَيْء»
Talq b. ‘Ali said that God’s messenger was asked about a man touching his penis after performing ablution, and replied, “What is it but a part of him?” Abu Dawud, Tirmidhi and Nasa’i transmitted it, and Ibn Majah transmitted something similar. The shaikh and imam Muhyi as-Sunna said that this is abrogated because Abu Huraira accepted Islam after Talq came, and Abu Huraira has transmitted from God’s messenger the saying, “If anyone touches his penis with his hand, nothing coming between them, he must perform ablution.” Shafi‘i and Daraqutni transmitted it, and Nasa’i transmitted it from Busra, but did not include “nothing between them.”
Circumstances which make ablution necessary - Section 2
وَعَنْ عَائِشَةَ قَالَتْ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُقَبِّلُ بَعْضَ أَزْوَاجِهِ ثُمَّ يُصَلِّي وَلَا يَتَوَضَّأُ. رَوَاهُ أَبُو دَاوُدَ وَالتِّرْمِذِيُّ وَالنَّسَائِيُّ وَابْنُ مَاجَهْ. وَقَالَ التِّرْمِذِيُّ: لَا يَصِحُّ عِنْدَ أَصْحَابِنَا بِحَالٍ إِسْنَادُ عُرْوَةَ عَنْ عَائِشَةَ وَأَيْضًا إِسْنَادُ إِبْرَاهِيمَ التَّيْمِيِّ عَنْهَا وَقَالَ أَبُو دَاوُدَ: هَذَا مُرْسل وَإِبْرَاهِيم التَّيْمِيّ لم يسمع من عَائِشَة
‘A’isha said that the Prophet (ﷺ) used to kiss one of his wives and then pray without performing ablution. Abu Dawud, Tirmidhi, Nasa’i and Ibn Majah transmitted it. Tirmidhi said, “The isnad ‘Urwa from ‘A'isha is in no way sound in the opinion of our friends,* and the same applies to the isnad Ibrahim at-Taimi from her.” Abu Dawud said that this is mursal and that Ibrahim at-Taimi never heard from ‘A'isha. *This must apply to this particular tradition, as ‘Urwa is a recognised transmitter from ‘A'isha
Circumstances which make ablution necessary - Section 2
وَعَن ابْن عَبَّاس قَالَ: أَكَلَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَتِفًا ثُمَّ مَسَحَ يَده بِمِسْحٍ كَانَ تَحْتَهُ ثُمَّ قَامَ فَصَلَّى. رَوَاهُ أَبُو دَاوُد وَابْن مَاجَه وَأحمد
Ibn ‘Abbas said that God's messenger ate a shoulder, and after wiping his hand with a cloth on which he was sitting, he got up and prayed. Abu Dawud and Ibn Majah transmitted it.
Circumstances which make ablution necessary - Section 2
وَعَن أم سَلمَة أَنَّهَا قَالَتْ: قَرَّبْتُ إِلَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ جَنْبًا مَشْوِيًّا فَأَكَلَ مِنْهُ ثُمَّ قَامَ إِلَى الصَّلَاةِ وَلَمْ يَتَوَضَّأْ. رَوَاهُ أَحْمَدُ
Umm Salama said, “I offered the Prophet (ﷺ) a roasted flank and he ate some of it, then rose to pray without performing ablution.” Ahmad transmitted it.
Circumstances which make ablution necessary - Section 3
عَن أبي رَافع قَالَ: أَشْهَدُ لَقَدْ كُنْتُ أَشْوِي لِرَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بَطْنَ الشَّاةِ ثُمَّ صلى وَلم يتَوَضَّأ. رَوَاهُ مُسلم
Abu Rafi' said, “I testify that I was roasting the inside of a sheep for God’s messenger, then he prayed without performing ablution.” Muslim transmitted it.
Circumstances which make ablution necessary - Section 3
وَعَنْهُ قَالَ: أُهْدِيَتْ لَهُ شَاةٌ فَجَعَلَهَا فِي الْقِدْرِ فَدَخَلَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ مَا هَذَا يَا أَبَا رَافِعٍ فَقَالَ شَاةٌ أُهْدِيَتْ لَنَا يَا رَسُولَ اللَّهِ فَطَبَخْتُهَا فِي الْقِدْرِ قَالَ نَاوِلْنِي الذِّرَاعَ يَا أَبَا رَافِعٍ فَنَاوَلْتُهُ الذِّرَاعَ ثُمَّ قَالَ نَاوِلْنِي الذِّرَاعَ الْآخَرَ فَنَاوَلْتُهُ الذِّرَاعَ الْآخَرَ ثُمَّ قَالَ ناولني الذِّرَاع الآخر فَقَالَ يَا رَسُولَ اللَّهِ إِنَّمَا لِلشَّاةِ ذِرَاعَانِ فَقَالَ لَهُ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَمَا إِنَّكَ لَوْ سَكَتَّ لَنَاوَلْتَنِي ذِرَاعًا فَذِرَاعًا مَا سَكَتُّ ثُمَّ دَعَا بِمَاءٍ فَتَمَضْمَضَ فَاهُ وَغَسَلَ أَطْرَافَ أَصَابِعِهِ ثُمَّ قَامَ فَصَلَّى ثُمَّ عَادَ إِلَيْهِمْ فَوَجَدَ عِنْدَهُمْ لَحْمًا بَارِدًا فَأَكَلَ ثُمَّ دَخَلَ الْمَسْجِدَ فَصَلَّى وَلَمْ يَمَسَّ مَاءً. رَوَاهُ أَحْمد وَرَوَاهُ الدَّارِمِيُّ عَنْ أَبِي عُبَيْدٍ إِلَّا أَنَّهُ لَمْ يَذْكُرْ: ثُمَّ دَعَا بِمَاءٍ إِلَى آخِرِهِ
He also said that a sheep was presented to him and he put it in the pot. God’s messenger came in and asked, “What is this, Abu Rafi'?” He replied, “It is a sheep which has been presented to us, and I have cooked it in the pot.” He said, “Hand me the foreleg, Abu Rafi‘,” and he did so. He then said, “Hand me the other foreleg,” and he did so. He then said, “Hand me the other foreleg,” whereupon Abu Rafi‘ ex postulated that a sheep has only two forelegs. God’s messenger replied, “If you had remained silent, you would have handed me one foreleg after another as long as you kept silence.” He then called for water, rinsed his mouth and washed the tips of his fingers, after which he got up and prayed. Later he returned to them and finding that they had cold meat, he ate some, after which he entered the mosque and prayed without touching water. Ahmad transmitted it, and Darimi transmitted it from Abu ‘Ubaid, but did not include the passage from “He then called for water” to the end.
Circumstances which make ablution necessary - Section 3
وَعَنْ أَنَسِ بْنِ مَالِكٍ قَالَ: كُنْتُ أَنَا وَأَبِي وَأَبُو طَلْحَةَ جُلُوسًا فَأَكَلْنَا لَحْمًا وَخُبْزًا ثُمَّ دَعَوْتُ بِوَضُوءٍ فَقَالَا لِمَ تَتَوَضَّأُ فَقُلْتُ لِهَذَا الطَّعَامِ الَّذِي أَكَلْنَا فَقَالَا أَتَتَوَضَّأُ مِنَ الطَّيِّبَاتِ لَمْ يَتَوَضَّأْ مِنْهُ مَنْ هُوَ خَيْرٌ مِنْك. رَوَاهُ أَحْمد
Anas b. Malik said: Ubayy, Abu Talha and I sat and ate some meat and bread, after which I called for water to perform ablution. They asked, “Why are you performing ablution?” and I replied that it was because of this food which we had eaten. They said, “Do you perform ablution after eating things which are good? He who was better than you did not perform ablution on that account.” Ahmad transmitted it.
Circumstances which make ablution necessary - Section 3
وَعَن ابْن عمر كَانَ يَقُولُ: قُبْلَةُ الرَّجُلِ امْرَأَتَهُ وَجَسُّهَا بِيَدِهِ مِنَ الْمُلَامَسَةِ. وَمَنْ قَبَّلَ امْرَأَتَهُ أَوْ جَسَّهَا بِيَدِهِ فَعَلَيهِ الْوضُوء. رَوَاهُ مَالك وَالشَّافِعِيّ
Ibn ‘Umar used to say, “A man’s kiss to his wife and his touching her with his hand are connected with sexual intercourse, and anyone who kisses his wife or touches her with his hand must perform ablution.” Malik and Shafi‘i transmitted it.
Circumstances which make ablution necessary - Section 3
وَعَن ابْن مَسْعُود كَانَ يَقُولُ: مِنْ قُبْلَةِ الرَّجُلِ امْرَأَتَهُ الْوُضُوءُ. رَوَاهُ مَالك
Ibn Mas'ud used to say, “Ablution is necessary when a man kisses his wife.” Malik transmitted it.
Circumstances which make ablution necessary - Section 3
وَعَن ابْن عُمَرَ أَنَّ عُمَرَ بْنَ الْخَطَّابِ رَضِيَ اللَّهُ عَنْهُ قَالَ: إِن الْقبْلَة من اللَّمْس فتوضؤوا مِنْهَا
Ibn ‘Umar reported ‘Umar b. al-Khattab as saying, “A kiss is connected with sexual intercourse, so perform ablution on that account.”
Circumstances which make ablution necessary - Section 3
وَعَنْ عُمَرَ بْنِ عَبْدِ الْعَزِيزِ عَنْ تَمِيمِ الدَّارِيّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «الْوُضُوءُ مِنْ كُلِّ دَمٍ سَائِلٍ» . رَوَاهُمَا الدَّارَقُطْنِيُّ وَقَالَ: عُمَرُ بْنُ عَبْدِ الْعَزِيزِ لَمْ يَسْمَعْ مِنْ تَمِيمٍ الدَّارِيِّ وَلَا رَآهُ وَيَزِيدُ بن خَالِد وَيزِيد بن مُحَمَّد مَجْهُولَانِ
‘Umar b. ‘Abd al-‘Aziz told on the authority of Tamim ad-Dari that God’s messenger said, “Ablution must be performed on account of any flow of blood.” Daraqutni transmitted the two traditions, saying that ‘Umar b. ‘Abd al-‘Aziz neither heard from Tamim ad-Dari nor saw him, and that Yazid b. Khalid and Yazid b. Muhammad* are unknown. *These men occur in the isnad.
How to act when relieving oneself - Section 1
عَنْ أَبِي أَيُّوبَ الْأَنْصَارِيِّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا أَتَيْتُمُ الْغَائِطَ فَلَا تَسْتَقْبِلُوا الْقِبْلَةَ وَلَا تَسْتَدْبِرُوهَا وَلَكِنْ شَرِّقُوا أَوْ غَرِّبُوا» قَالَ الشَّيْخ الإِمَام محيي السّنة : هَذَا الْحَدِيثُ فِي الصَّحْرَاءِ وَأَمَّا فِي الْبُنْيَانِ فَلَا بَأْس لما رُوِيَ: عَن عبد الله بن عمر قَالَ: ارْتَقَيْتُ فَوْقَ بَيْتِ حَفْصَةَ لِبَعْضِ حَاجَتِي فَرَأَيْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يقْضِي حَاجته مستدبر الْقبْلَة مُسْتَقْبل الشَّام
Abu Ayyub al-Ansari reported God’s messenger as saying, "When you go to the toilet neither face nor turn your back to the qibla [Ka'ba in Mecca], but turn towards the east or the west.” (Bukhari and Muslim.) The shaikh and imam Muhyi as-Sunna said that this tradition applies to the desert, but that in a built-up area it does not matter, on account of what is transmitted from ‘Abdallah b. ‘Umar who said, "I went up to the roof of Hafsa’s house for some purpose and saw God's messenger relieving himself facing Syria, with his back to the qibla.” (Bukhari and Muslim.)
How to act when relieving oneself - Section 1
وَعَن سلمَان قَالَ: نَهَانَا يَعْنِي رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنْ نَسْتَقْبِلَ الْقِبْلَةَ لِغَائِطٍ أَوْ بَوْل أَو أَن نستنتجي بِالْيَمِينِ أَوْ أَنْ نَسْتَنْجِيَ بِأَقَلَّ مِنْ ثَلَاثَةِ أَحْجَارٍ أَوْ أَنْ نَسْتَنْجِيَ بِرَجِيعٍ أَوْ بِعَظْمٍ. رَوَاهُ مُسلم
Salman said, “He (meaning God’s messenger) forbade us to face the qibla when easing ourselves or passing water, or to wipe ourselves with the right hand, or to wipe ourselves with less than three stones, or to wipe ourselves with dung or bone.” Muslim transmitted it.
How to act when relieving oneself - Section 1
وَعَنْ أَنَسٍ قَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا دَخَلَ الْخَلَاءَ يَقُولُ: «اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْخبث والخبائث»
Anas reported that when God’s messenger entered the privy he used to say, "O God, I seek refuge in You from male and female devils.”* *One might be inclined to translate this phrase as "from infidelity and act of disobedience,” but the tradition from Zaid b. Arqam (p. 76) is very explicit, and so the translation above is probably the correct one. PT-2 (12-71.) (Bukhari and Muslim).
How to act when relieving oneself - Section 1
وَعَنِ ابْنِ عَبَّاسٍ قَالَ مَرَّ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِقَبْرَيْنِ فَقَالَ إِنَّهُمَا لَيُعَذَّبَانِ وَمَا يُعَذَّبَانِ فِي كَبِيرٍ أَمَّا أَحدهمَا فَكَانَ لَا يَسْتَتِرُ مِنَ الْبَوْلِ - وَفِي رِوَايَةٍ لمُسلم: لَا يستنزه مِنَ الْبَوْلِ - وَأَمَّا الْآخَرُ فَكَانَ يَمْشِي بِالنَّمِيمَةِ ثمَّ أَخذ جَرِيدَة رطبَة فَشَقهَا نِصْفَيْنِ ثُمَّ غَرَزَ فِي كُلِّ قَبْرٍ وَاحِدَةً قَالُوا يَا رَسُول الله لم صنعت هَذَا قَالَ لَعَلَّه يُخَفف عَنْهُمَا مَا لم ييبسا
Ibn ‘Abbas told that the Prophet (ﷺ) came upon two graves and said, "Their occupants are being punished, but not for a great sin. One of them did not keep himself from being defiled by urine. (A version by Muslim has "did not keep himself undefiled by urine”.) The other went about spreading slander.” He then took a fresh palm branch, split it in two parts, and planted one on each grave. On being asked why he did this, he said, "Perhaps their punishment may be mitigated as long as they remain fresh.” (Bukhari and Muslim.)