The knowledge of the night of Qadr was taken away because of the quarrelling
باب رَفْعِ مَعْرِفَةِ لَيْلَةِ الْقَدْرِ لِتَلاَحِي النَّاسِ
Sahih al-Bukhari, Book of Virtues of the Night of Qadr(view book)
Sahih al-Bukhari 2023
Narrated 'Ubada bin As-Samit:
The Prophet came out to inform us about the Night of Qadr but two Muslims were quarreling with each other. So, the Prophet ﷺ said, "I came out to inform you about the Night of Qadr but such-and-such persons were quarreling, so the news about it had been taken away;
yet that might be for your own good, so search for it on the 29th, 27th and 25th (of Ramadan).
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا خَالِدُ بْنُ الْحَارِثِ، حَدَّثَنَا حُمَيْدٌ، حَدَّثَنَا أَنَسٌ، عَنْ عُبَادَةَ بْنِ الصَّامِتِ، قَالَ خَرَجَ النَّبِيُّ ﷺ لِيُخْبِرَنَا بِلَيْلَةِ الْقَدْرِ، فَتَلاَحَى رَجُلاَنِ مِنَ الْمُسْلِمِينَ، فَقَالَ " خَرَجْتُ لأُخْبِرَكُمْ بِلَيْلَةِ الْقَدْرِ، فَتَلاَحَى فُلاَنٌ وَفُلاَنٌ، فَرُفِعَتْ، وَعَسَى أَنْ يَكُونَ خَيْرًا لَكُمْ، فَالْتَمِسُوهَا فِي التَّاسِعَةِ وَالسَّابِعَةِ وَالْخَامِسَةِ ".