Narrated Abdullah ibn 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 (hoes) are the habitats of the jinn.
Hadith Takhrij« سنن النسائی/الطھارة 30 (34)، (تحفة الأشراف: 5322)، مسند احمد (5/82) (ضعیف) » (قتادة مدلس ہیں، اور انہوں نے ابن سرجس سے سنا نہیں ہے) « (ضعيف أبي داود: 8، والإرواء: 55، وتراجع الألباني: 131) »