The correct believe is only Allah informs his Messengers, whenever he wants to, via Wahee (وحی) about Ghaib. Hence Prophet Muhammad (صلی اللہ علیہ وآلہ وسلم) would not know about Ghaib (غیب) unless Allah informs him (صلی اللہ علیہ وآلہ وسلم).
قُل لَّا أَقُولُ لَكُمْ عِندِي خَزَائِنُ اللَّهِ وَلَا أَعْلَمُ الْغَيْبَ وَلَا أَقُولُ لَكُمْ إِنِّي مَلَكٌ ۖ إِنْ أَتَّبِعُ إِلَّا مَا يُوحَىٰ إِلَيَّ ۚ قُلْ هَلْ يَسْتَوِي الْأَعْمَىٰ وَالْبَصِيرُ ۚ أَفَلَا تَتَفَكَّرُونَ (Al-Anaam,6:50)
Yusuf Ali 50: Say: "I tell you not that with me are the treasures of Allah, nor do I know what is hidden, nor do I tell you I am an angel. I but follow what is revealed to me." Say: "can the blind be held equal to the seeing?" Will ye then consider not? (Al-Anaam,6:50)
کہہ دو میں تم سے یہ نہیں کہتا کہ میرے پاس الله کے خزانے ہیں اور نہ میں غیب کا علم رکھتا ہوں اور نہ یہ کہتا ہوں کہ میں فرشتہ ہوں میں تو صرف اس وحی کی پیروی کرتا ہوں جو مجھ پر نازل کی جاتی ہے کہہ دو کیا اندھا اور آنکھوں والا دونوں برابر ہو سکتے ہیں کیا تم غور نہیں کرتے
مَّا كَانَ اللَّهُ لِيَذَرَ الْمُؤْمِنِينَ عَلَىٰ مَا أَنتُمْ عَلَيْهِ حَتَّىٰ يَمِيزَ الْخَبِيثَ مِنَ الطَّيِّبِ ۗ وَمَا كَانَ اللَّهُ لِيُطْلِعَكُمْ عَلَى الْغَيْبِ وَلَـٰكِنَّ اللَّهَ يَجْتَبِي مِن رُّسُلِهِ مَن يَشَاءُ ۖ فَآمِنُوا بِاللَّهِ وَرُسُلِهِ ۚ وَإِن تُؤْمِنُوا وَتَتَّقُوا فَلَكُمْ أَجْرٌ عَظِيمٌ
Yusuf Ali 179:
Allah will not leave the believers in the state in which ye are now, until He separates what is evil from what is good nor will He disclose to you the secrets of the Unseen. But He chooses of His Messenger. (For the purpose) whom He pleases. So believe in Allah. And His apostles: And if ye believe and do right, ye have a reward without measure.(Qur'aan, Sura al-Imran 3, verse 179)
الله مسلمانوں کو اس حالت پر رکھنا نہیں چاہتا جس پر اب تم ہو جب تک کہ ناپاک کو پاک سے جدا نہ کر دے اورالله کا یہ طریقہ نہیں ہے کہ تمہیں غیب پر مطلع کر دے لیکن الله اپنے رسولوں میں جسے چاہے چن لیتا ہے سو تم الله اور اس کے رسول پر ایمان لاؤ اور پرہیزگاری کرو تو تمہارے لیے بہت بڑا اجر ہے
Following Hadeeth narrates once Bibi Aisha (Razi Allah Talah Unhun) was wrongly accused and Prophet Muhammad (صلی اللہ علیہ وآلہ وسلم) were very worried and had no way of knowing the truth until Allah revealed the Verses (concerning the matter):
Narrated Masruq: I asked Um Ruman, 'Aisha's mother about the accusation forged against 'Aisha. She said, "While I was sitting with 'Aisha, an Ansari woman came to us and said, 'Let Allah condemn such-and-such person.' I asked her, 'Why do you say so?' She replied, 'For he has spread the (slanderous) story.' 'Aisha said, 'What story?' The woman then told her the story. 'Aisha asked, 'Have Abu Bakr and Allah's Apostle heard about it ?' She said, 'Yes.' 'Aisha fell down senseless (on hearing that), and when she came to her senses, she got fever and shaking of the body. The Prophet came and asked, 'What is wrong with her?' I said, 'She has got fever because of a story which has been rumored.' 'Aisha got up and said, 'By Allah! Even if I took an oath, you would not believe me, and if I put forward an excuse, You would not excuse me. My example and your example is just like that example of Jacob and his sons. Against that which you assert, it is Allah (Alone) Whose Help can be sought.' (12.18) The Prophet left and then Allah revealed the Verses (concerning the matter), and on that 'Aisha said, 'Thanks to Allah (only) and not to anybody else." (Sahih Bukhari, Book
#55, Hadith
#602)
The correct believe is that the Silsila of Wahee (وحی) has been discontinued since the death of Prophet Muhhamd (صلی اللہ علیہ وآلہ وسلم). Hence anybody who claims that he has revelation from Allah about Ghaib (غیب) is Kazzaab (کذاب).
There are very serious implication of holding wrong belief is that many hopefuls, Durwaish, Peer, Wali, have launched their religious careers (fan following) by making claim that they have the knowledge of unseen (غیب). Almost all our Sufi ‘saints’ have established their credibility, and their thrones, by doing this. They first claim to have seen the Prophet (صلی اللہ علیہ وآلہ وسلم), then they say they are in direct contact with him, then they claim they have been divinely inspired, and then they build their economic empires which they leave to their successors.