Mishkat al-Masabih
Mishkat al-Masabih 375
How to act when relieving oneself - Section 3
Arabic hadith text
وَعَنِ ابْنِ مَسْعُودٍ قَالَ:" لَمَّا قَدِمَ وَفْدُ الْجِنِّ عَلَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالُوا: يَا رَسُولَ اللَّهِ انْهَ أُمَّتَكَ أَنْ يَسْتَنْجُوا بِعَظْمٍ أَوْ رَوْثَةٍ أَوْ حُمَمَةٍ فَإِنَّ اللَّهَ جَعَلَ لَنَا فِيهَا رِزْقًا فَنَهَانَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَنْ ذَلِكَ ". رَوَاهُ أَبُو دَاوُد
Translation
Ibn Mas'ud told that when the deputation of the jinn came to the Prophet that said, “Messenger of God, forbid your people to cleanse themselves with bone, animal dung, or charcoal, for in them God has provided provision for us.” So God’s messenger forbade them to do that. Abu Dawud transmitted it.