Hadithcore
Sunan Abi Dawud, 85
sahih· Al-Albani

Narrated 'Alqamah:

I asked 'Abd Allaah b Mas'ud: Which of you was in the company of the Messenger of Allaah ( sal Allaahu alayhi wa sallam ) on the night when the jinn attended him? He replied : None of us was with him.

حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا وُهَيْبٌ، عَنْ دَاوُدَ، عَنْ عَامِرٍ، عَنْ عَلْقَمَةَ، قَالَ قُلْتُ لِعَبْدِ اللَّهِ بْنِ مَسْعُودٍ مَنْ كَانَ مِنْكُمْ مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم لَيْلَةَ الْجِنِّ فَقَالَ مَا كَانَ مَعَهُ مِنَّا أَحَدٌ ‏.‏

References2 variants
In-Book Reference
Book 1, Hadith 85
English Reference
Book 1, Hadith 85