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.
ahmad:4375ʿAttāb > ʿAbdullāh And ʿAlī b. Isḥāq > ʿAbdullāh > Mūsá b. ʿAlī b. Rabāḥ from my father > Ibn Masʿūd

[Machine] "The Messenger of Allah ﷺ encountered the jinn one night, and with him were a jawbone, a water skin, and coal. He said, 'Do not use anything from these when you go to the bathroom.'"  

أحمد:٤٣٧٥حَدَّثَنَا عَتَّابٌ حَدَّثَنَا عَبْدُ اللهِ وَعَلِيُّ بْنُ إِسْحَاقَ قَالَ أَخْبَرَنَا عَبْدُ اللهِ أَخْبَرَنَا مُوسَى بْنُ عَلِيِّ بْنِ رَبَاحٍ قَالَ سَمِعْتُ أَبِي يَقُولُ عَنْ ابْنِ مَسْعُودٍ

أَنَّ رَسُولَ اللهِ ﷺ أَتَاهُ لَيْلَةَ الْجِنِّ وَمَعَهُ عَظْمٌ حَائِلٌ وَبَعْرَةٌ وَفَحْمَةٌ فَقَالَ لَا تَسْتَنْجِيَنَّ بِشَيْءٍ مِنْ هَذَا إِذَا خَرَجْتَ إِلَى الْخَلَاءِ