Hadithcore
Sahih al-Bukhari, 4778
sahih

Narrated `Abdullah bin `Umar:

The Prophet (ﷺ) said, "The keys of the Unseen are five." And then he recited: 'Verily, the knowledge of the Hour is with Allah (alone).' (31:34)

حَدَّثَنَا يَحْيَى بْنُ سُلَيْمَانَ، قَالَ حَدَّثَنِي ابْنُ وَهْبٍ، قَالَ حَدَّثَنِي عُمَرُ بْنُ مُحَمَّدِ بْنِ زَيْدِ بْنِ عَبْدِ اللَّهِ بْنِ عُمَرَ، أَنَّ أَبَاهُ، حَدَّثَهُ أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ ـ رضى الله عنهما ـ قَالَ قَالَ النَّبِيُّ ـ صلى الله عليه وسلم ـ ‏

‏ مَفَاتِيحُ الْغَيْبِ خَمْسٌ ‏

‏ ثُمَّ قَرَأَ ‏{‏إِنَّ اللَّهَ عِنْدَهُ عِلْمُ السَّاعَةِ‏}‏‏.‏

References2 variants
In-Book Reference
Book 65, Hadith 300
USC-MSA web (English) reference
Vol. 6, Book 60, Hadith 301 (deprecated numbering scheme)