Hadithcore
Mishkat al-Masabih, 2095

‘Ubada b. as-Samit said that the Prophet (ﷺ) came out to inform them about <i>lailat al-qadr</i>, but finding two Muslims disputing together he said, “I came out to inform you about <i>lailat al-qadr</i>, but so and so and so and so had a dispute, and the knowledge of it has been withdrawn. That, however, may perhaps be better for you, so seek it on the ninth, the seventh and the fifth.”* *i.e. the twenty-ninth, twenty-seventh, and twenty-fifth. Bukhari transmitted it.

عَنْ عُبَادَةَ بْنِ الصَّامِتِ قَالَ: خَرَجَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لِيُخْبِرَنَا بِلَيْلَةِ الْقَدْرِ فَتَلَاحَى رَجُلَانِ مِنَ الْمُسْلِمِينَ فَقَالَ: «خَرَجْتُ لِأُخْبِرَكُمْ بِلَيْلَةِ الْقَدْرِ فَتَلَاحَى فُلَانٌ وَفُلَانٌ فَرُفِعَتْ وَعَسَى أَنْ يَكُونَ خَيْرًا لَكُمْ فَالْتَمِسُوهَا فِي التَّاسِعَةِ وَالسَّابِعَة وَالْخَامِسَة» . رَوَاهُ البُخَارِيّ

References1 variant
In-Book Reference
Book 7, Hadith 136