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