Allah alone knows the unseen and discloses from it to chosen messengers.
عَٰلِمُ ٱلۡغَيۡبِ فَلَا يُظۡهِرُ عَلَىٰ غَيۡبِهِۦٓ أَحَدًا ٢٦ إِلَّا مَنِ ٱرۡتَضَىٰ مِن رَّسُولࣲ فَإِنَّهُۥ يَسۡلُكُ مِنۢ بَيۡنِ يَدَيۡهِ وَمِنۡ خَلۡفِهِۦ رَصَدࣰ ا ٢٧
26 [He is] Knower of the unseen, and He does not disclose His [knowledge of the] unseen to anyone 27 Except whom He has approved of messengers, and indeed, He sends before each messenger and behind him observers