(40) باب فَضْلِ لَيْلَةِ الْقَدْرِ وَالْحَثِّ عَلَى طَلَبِهَا وَبَيَانِ مَحَلِّهَا وَأَرْجَى أَوْقَاتِ طَلَبِهَا
Zirr b. Hubaish reported that Ubayy b. Ka'b (Allah be pleased with him) said about Lailat-ul-Qadr:
By Allah, I know well about it. Shu'ba said: To the best of my knowledge it was the twenty-seventh night for which the Messenger of Allah (ﷺ) commanded us to stand for prayer. Shu'ba doubted these words: That it was the night for which the Messenger of Allah (ﷺ) commanded us to stand for prayer. And (he further) said: This was narrated to me by a friend of mine from him (the Holy Prophet).
Reference: Sahih Muslim 762 e
In-book reference: Book 13, Hadith 284
USC-MSA web (English) reference(deprecated numbering scheme): Book 6, Hadith 2634