It is narrated from Sayyiduna Ibn Mas'ud (may Allah be pleased with him) that your Prophet (peace and blessings be upon him) was given the keys to everything except five things. Then he recited this verse: «﴿إِنَّاللّٰهَعِنْدَهُعِلْمُالسَّاعَةِوَيُنَزِّلُالْغَيْثَوَيَعْلَمُمَافِيالْأَرْحَامِوَمَاتَدْرِينَفْسٌمَاذَاتَكْسِبُغَدًاوَمَاتَدْرِينَفْسٌبِأَيِّأَرْضٍتَمُوتُإِنَّاللّٰهَعَلِيمٌخَبِيرٌ﴾ [لقمان : 34]» "The knowledge of the Hour is with Allah alone, He sends down the rain, He knows what is in the wombs. No soul knows what it will earn tomorrow, and no soul knows in which land it will die. Surely, Allah is All-Knowing, All-Aware."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 3659
Hadith Gradingحکم دارالسلام:صحيح لغيره، وهذا إسناد يحتمل التحسين