Sahih Muslim , Book 4, Hadith 906 (USC-MSA) ⓘ
Abdullah (b. Mas'ud) said: I was not with the Messenger of Allah but I wish I were with him.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، أَخْبَرَنَا خَالِدُ بْنُ عَبْدِ اللَّهِ، عَنْ خَالِدٍ، عَنْ أَبِي مَعْشَرٍ، عَنْ إِبْرَاهِيمَ، عَنْ عَلْقَمَةَ، عَنْ عَبْدِ اللَّهِ، قَالَ لَمْ أَكُنْ لَيْلَةَ الْجِنِّ مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم وَوَدِدْتُ أَنِّي كُنْتُ مَعَهُ .
also referenced under: Book 4, Hadith 172 (In-Book) & Hadith 450 (Reference)