Dalil

Quran Al-Jinn 72:26

عَٰلِمُ ٱلۡغَيۡبِ فَلَا يُظۡهِرُ عَلَىٰ غَيۡبِهِۦٓ أَحَدًا

Translation

[He is] Knower of the unseen, and He does not disclose His [knowledge of the] unseen to anyone