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.
abudawud:29ʿUbaydullāh b. ʿUmar b. Maysarah > Muʿādh b. Hishām from my father > Qatādah > ʿAbdullāh b. Sarjis

The Prophet ﷺ prohibited to urinate in a hole. Qatadah (a narrator) was asked about the reason for the disapproval of urinating in a hole. He replied: It is said that these (holes) are the habitats of the jinn.  

أبو داود:٢٩حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ عُمَرَ بْنِ مَيْسَرَةَ حَدَّثَنَا مُعَاذُ بْنُ هِشَامٍ حَدَّثَنِي أَبِي عَنْ قَتَادَةَ عَنْ عَبْدِ اللَّهِ بْنِ سَرْجِسَ

أَنَّ رَسُولَ اللَّهِ ﷺ نَهَى أَنْ يُبَالَ فِي الْجُحْرِ قَالَ قَالُوا لِقَتَادَةَ مَا يُكْرَهُ مِنَ الْبَوْلِ فِي الْجُحْرِ قَالَ كَانَ يُقَالُ إِنَّهَا مَسَاكِنُ الْجِنِّ  


See similar narrations below:

Collected by Nasāʾī, Nasāʾī's Kubrá
nasai:34ʿUbaydullāh b. Saʿīd > Muʿādh b. Hishām from my father > Qatādah > ʿAbdullāh b. Sarjis > Nabī Allāh ﷺ

"None of you should urinate into a burrow in the ground." They said to Qatadah: "Why is it disliked to urinate into a burrow in the ground?" He said: "It is said that these are dwelling-places of the jinn."  

النسائي:٣٤أَخْبَرَنَا عُبَيْدُ اللَّهِ بْنُ سَعِيدٍ قَالَ أَنْبَأَنَا مُعَاذُ بْنُ هِشَامٍ قَالَ حَدَّثَنِي أَبِي عَنْ قَتَادَةَ عَنْ عَبْدِ اللَّهِ بْنِ سَرْجِسَ

أَنَّ نَبِيَّ اللَّهِ ﷺ قَالَ لاَ يَبُولَنَّ أَحَدُكُمْ فِي جُحْرٍ قَالُوا لِقَتَادَةَ وَمَا يُكْرَهُ مِنَ الْبَوْلِ فِي الْجُحْرِ قَالَ يُقَالُ إِنَّهَا مَسَاكِنُ الْجِنِّ  

nasai-kubra:30ʿUbaydullāh b. Saʿīd > Muʿādh b. Hishām from my father > Qatādah > ʿAbdullāh b. Sarjis > Nabī Allāh ﷺ

"None of you should urinate into a burrow in the ground." They said to Qatadah: "Why is it disliked to urinate into a burrow in the ground?" He said: "It is said that these are dwelling-places of the jinn." (Using translation from Nasāʾī 34)  

الكبرى للنسائي:٣٠أَخْبَرَنَا عُبَيْدُ اللهِ بْنُ سَعِيدٍ قَالَ حَدَّثَنَا مُعَاذُ بْنُ هِشَامٍ قَالَ حَدَّثَنِي أَبِي عَنْ قَتَادَةَ عَنْ عَبْدِ اللهِ بْنِ سَرْجِسٍ أَنَّ نَبِيَّ اللهِ ﷺ قَالَ

«لَا يَبُولَنَّ أَحَدُكُمْ فِي جُحْرٍ» قِيلَ لِقَتَادَةَ وَمَا يُكْرَهُ مِنَ الْبَوْلِ فِي الْجُحْرِ؟ قَالَ يُقَالُ إِنَّهَا مَسَاكِنُ الْجِنِّ