that 'Alqamah said: "I said to Ibn Mas'ud, may Allah be pleased with him: 'Did any of you accompany the Prophet ﷺ on the Night of the Jinn?' He said: 'None of us accompanied him. One night, while he was in Makkah, we could not find him. We said: "He has been murdered [or] snatched, what has happened to him?" So we spent the worst night a people could spend until the morning' or 'it was about dawn when we saw him coming from the direction of Hira.' He said: 'They told him about what they had went through.'" "So he ﷺ said: 'Someone from the Jinn came to invite me, so I went to them to recite for them.' He said: "So we went and saw their tracks and the traces of their camp fire.'" Ash-Sha'bi said: "They asked him about their provisions - and they were Jinns of Mesopotamia - so he said: 'Every bone upon which Allah's name has not been mentioned, that falls into your hands, and every dropping of dung is fodder for your beasts.'" So the Messenger of Allah ﷺ said: "Do not perform Istinja with them for indeed they are provisions for your brothers among the Jinns."
قُلْتُ لاِبْنِ مَسْعُودٍ ؓ هَلْ صَحِبَ النَّبِيَّ ﷺ لَيْلَةَ الْجِنِّ مِنْكُمْ أَحَدٌ قَالَ مَا صَحِبَهُ مِنَّا أَحَدٌ وَلَكِنْ قَدِ افْتَقَدْنَاهُ ذَاتَ لَيْلَةٍ وَهُوَ بِمَكَّةَ فَقُلْنَا اغْتِيلَ أَوِ اسْتُطِيرَ مَا فُعِلَ بِهِ فَبِتْنَا بِشَرِّ لَيْلَةٍ بَاتَ بِهَا قَوْمٌ حَتَّى إِذَا أَصْبَحْنَا أَوْ كَانَ فِي وَجْهِ الصُّبْحِ إِذَا نَحْنُ بِهِ يَجِيءُ مِنْ قِبَلِ حِرَاءَ قَالَ فَذَكَرُوا لَهُ الَّذِي كَانُوا فِيهِ فَقَالَ أَتَانِي دَاعِيَ الْجِنِّ فَأَتَيْتُهُمْ فَقَرَأْتُ عَلَيْهِمْ فَانْطَلَقَ فَأَرَانَا آثَارَهُمْ وَآثَارَ نِيرَانِهِمْ قَالَ الشَّعْبِيُّ وَسَأَلُوهُ الزَّادَ وَكَانُوا مِنْ جِنِّ الْجَزِيرَةِ فَقَالَ كُلُّ عَظْمٍ لَمْ يُذْكَرِ اسْمُ اللَّهِ عَلَيْهِ يَقَعُ فِي أَيْدِيكُمْ أَوْفَرَ مَا كَانَ لَحْمًا وَكُلُّ بَعْرَةٍ أَوْ رَوْثَةٍ عَلَفٌ لِدَوَابِّكُمْ فَقَالَ رَسُولُ اللَّهِ ﷺ فَلاَ تَسْتَنْجُوا بِهِمَا فَإِنَّهُمَا زَادُ إِخْوَانِكُمْ مِنَ الْجِنِّ