Ubada bin Samit reported,

The Prophet ﷺ came out to inform us about Laylat al-Qadr, but two men from the Muslims were quarreling. He said, "I came out to inform you about Laylat al-Qadr, but so-and-so and so-and-so were quarreling, so it was taken away. Perhaps that is better for you. So seek it on the ninth, the seventh, and the fifth."

Azami 4675

Sahih

عن عبادة بن الصامت، قال

خرج النبي ﷺ ليخبرنا بليلة القدر، فتلاحى رجلان من المسلمين، فقال: خرجت لأخبركم بليلة القدر، فتلاحى فلان وفلان فرفعت، وعسى أن يكون خيرا لكم، فالتمسوها في التاسعة والسابعة والخامسة.

الأعظمي 4675صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Virtue of Laylat al-Qadr and the striving of the Prophet ﷺ ﷺ in it
Section
Laylat al-Qadr being on the twenty-first, twenty-third, and twenty-fifth
Numbering
Jami al-Kamil 4675 (2nd edition)
Azami 4675