Your Prophet ﷺ was given knowledge of everything except the five keys of the unseen, "Indeed, with Allah is knowledge of the Hour" [Luqman 31:34].
حدثنا وكيع حدثنا مسعر عن عمرو بن مرة
أوتي نبيكم ﷺ كل شيء إلا مفاتيح الغيب الخمس {إن الله عنده علم الساعة}