Mishkat al-Masabih 2088
Zirr b. Hubaish said:
I questioned Ubayy b. Ka'b about a statement by his brother [not actual brother] Ibn Mas'ud to the effect that anyone who gets up for prayer every night in the year will hit upon lailat al-qadr , and he replied, “God have mercy on him! He meant that people should not content themselves [with that might alone]. He knew that it was in Ramadan among the last ten nights and that it was the twenty-seventh.” He then swore without any reservation that it was the twenty-seventh, and when I asked, “On what ground do you state that, Abul Mundhir? [Ubayy's kunya ]” he replied, “By the indication (or sign)* of which God’s messenger informed us, viz. that the sun rises on that day without rays.” *An alternative, the transmitter not being sure which word was used.
*An alternative, the transmitter not being sure which word was used.

Muslim transmitted it.
وَعَنْ زِرِّ بْنِ حُبَيْشٍ قَالَ: سَأَلْتُ أُبَيَّ بْنَ كَعْبٍ فَقُلْتُ إِنَّ أَخَاكَ ابْنَ مَسْعُودٍ يَقُولُ: مَنْ يَقُمِ الْحَوْلَ يُصِبْ لَيْلَةَ الْقَدْرِ. فَقَالَ C أَرَادَ أَنْ لَا يَتَّكِلَ النَّاسُ أَمَا إِنَّهُ قَدْ عَلِمَ أَنَّهَا فِي رَمَضَانَ وَأَنَّهَا فِي الْعَشْرِ الْأَوَاخِرِ وَأَنَّهَا لَيْلَةُ سَبْعٍ وَعِشْرِينَ ثُمَّ حَلَفَ لَا يَسْتَثْنِي أَنَّهَا لَيْلَةُ سَبْعٍ وَعِشْرِينَ. فَقُلْتُ: بِأَيِّ شَيْءٍ تَقُولُ ذَلِكَ يَا أَبَا الْمُنْذِرِ؟ قَالَ: بِالْعَلَامَةِ أَوْ بِالْآيَةِ الَّتِي أَخْبَرَنَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِنَّهَا تَطْلُعُ يَوْمَئِذٍ لَا شُعَاعَ لَهَا. رَوَاهُ مُسْلِمٌ