Tawhid in Knowledge and Shirk in Knowledge
The fundamental principles about knowledge are present in the Qur’an and Hadith.
No one knows more than the knowledge Allah Almighty has given him.
Above every knower there is another knower:
[وَ فَوۡقَ کُلِّ ذِیۡ عِلۡمٍ عَلِیۡمٌ ] And above every possessor of knowledge is one who knows all.
And the one with the greatest knowledge is Allah Almighty; no one besides Allah knows the unseen:
[قُلۡ لَّا یَعۡلَمُ مَنۡ فِی السَّمٰوٰتِ وَ الۡاَرۡضِ الۡغَیۡبَ اِلَّا اللّٰہُ ؕ وَ مَا یَشۡعُرُوۡنَ اَیَّانَ یُبۡعَثُوۡنَ]
Say: None of those in the heavens and the earth knows the unseen except Allah, and they do not perceive when they will be raised.
Allah knows what is in the hearts (and no one else knows it).
The Messenger of Allah ﷺ does not know the unseen:
[قُلۡ لَّاۤ اَقُوۡلُ لَکُمۡ عِنۡدِیۡ خَزَآئِنُ اللّٰہِ وَ لَاۤ اَعۡلَمُ الۡغَیۡبَ وَ لَاۤ اَقُوۡلُ لَکُمۡ اِنِّیۡ مَلَکٌ ۚ اِنۡ اَتَّبِعُ اِلَّا مَا یُوۡحٰۤی اِلَیَّ ؕ قُلۡ ہَلۡ یَسۡتَوِی الۡاَعۡمٰی وَ الۡبَصِیۡرُ ؕ اَفَلَا تَتَفَکَّرُوۡنَ]
Say: I do not tell you that I have the treasures of Allah, nor do I know the unseen, nor do I tell you that I am an angel; I only follow what is revealed to me. Say: Are the blind and the seeing equal? Then do you not reflect?
For further references see:
In reality, no one knows more than the knowledge he was given. The knowledge of the noble prophets is limited to what was told to them through revelation. The knowledge of Allah Almighty is unlimited. What was told to the noble prophets was no longer unseen; it became knowledge.
And what was not told is the unseen, and the Qur’an says exactly this: that knowledge of the unseen belongs to no one except Allah Almighty.
The knowledge of Allah Almighty is unlimited:
[قُلۡ لَّوۡ کَانَ الۡبَحۡرُ مِدَادًا لِّکَلِمٰتِ رَبِّیۡ لَنَفِدَ الۡبَحۡرُ قَبۡلَ اَنۡ تَنۡفَدَ کَلِمٰتُ رَبِّیۡ وَ لَوۡ جِئۡنَا بِمِثۡلِہٖ مَدَدًا]
Say: If the sea were ink for the words of my Lord, the sea would certainly be exhausted before the words of my Lord were exhausted, even if we brought the like of it as additional ink.
Only the knowledge of Allah is unlimited; the knowledge of everyone else is limited, and the knowledge of the prophets is also limited.
For further references see:
The people of a boat took Musa (peace be upon him) and Khidr (peace be upon him) aboard. Meanwhile a sparrow came, sat on the edge of the boat, and struck the sea with its beak once or twice. Khidr (peace be upon him) said: O Musa! My knowledge and yours together have taken from the knowledge of Allah only as much as this sparrow’s beak has taken from the sea.
From this hadith one can gauge the knowledge of Allah and the knowledge of the creation.
Qur’anic verdicts about various noble prophets (peace be upon them) that they did not know the unseen:
Allah Almighty said:
[فَوَسۡوَسَ اِلَیۡہِ الشَّیۡطٰنُ قَالَ یٰۤـاٰدَمُ ہَلۡ اَدُلُّکَ عَلٰی شَجَرَۃِ الۡخُلۡدِ وَ مُلۡکٍ لَّا یَبۡلٰی]،[فَاَکَلَا مِنۡہَا فَبَدَتۡ لَہُمَا سَوۡاٰتُہُمَا وَ طَفِقَا یَخۡصِفٰنِ عَلَیۡہِمَا مِنۡ وَّرَقِ الۡجَنَّۃِ ۫ وَ عَصٰۤی اٰدَمُ رَبَّہٗ فَغَوٰی]،[ ثُمَّ اجۡتَبٰہُ رَبُّہٗ فَتَابَ عَلَیۡہِ وَ ہَدٰی]
[Then Satan whispered to him; he said: O Adam! Shall I show you the tree of eternal life and a kingdom that does not decay?]،[ So the two of them ate from it, and their private parts became apparent to them, and they began to stick the leaves of Paradise over themselves; and Adam disobeyed his Lord, so he went astray.]،[ Then his Lord chose him, so He turned to him in mercy and guided him.]
It is proven that Sayyiduna Adam (peace be upon him) did not know the unseen; otherwise he would not have eaten from the tree:
[وَ لَاۤ اَقُوۡلُ لَکُمۡ عِنۡدِیۡ خَزَآئِنُ اللّٰہِ وَ لَاۤ اَعۡلَمُ الۡغَیۡبَ وَ لَاۤ اَقُوۡلُ اِنِّیۡ مَلَکٌ وَّ لَاۤ اَقُوۡلُ لِلَّذِیۡنَ تَزۡدَرِیۡۤ اَعۡیُنُکُمۡ لَنۡ یُّؤۡتِیَہُمُ اللّٰہُ خَیۡرًا ؕ اَللّٰہُ اَعۡلَمُ بِمَا فِیۡۤ اَنۡفُسِہِمۡ اِنِّیۡۤ اِذًا لَّمِنَ الظّٰلِمِیۡنَ]
And I do not tell you that I have the treasures of Allah, nor do I know the unseen, nor do I say that I am an angel, nor do I say about those whom your eyes look down upon that Allah will never give them any good. Allah knows best what is in their hearts. Indeed, I would then be among the wrongdoers.
[وَ اُوۡحِیَ اِلٰی نُوۡحٍ اَنَّہٗ لَنۡ یُّؤۡمِنَ مِنۡ قَوۡمِکَ اِلَّا مَنۡ قَدۡ اٰمَنَ فَلَا تَبۡتَئِسۡ بِمَا کَانُوۡا یَفۡعَلُوۡنَ]
And it was revealed to Nuh that no one from your people will ever believe except those who have already believed, so do not grieve over what they have been doing.
[وَ نَادٰی نُوۡحٌ رَّبَّہٗ فَقَالَ رَبِّ اِنَّ ابۡنِیۡ مِنۡ اَہۡلِیۡ وَ اِنَّ وَعۡدَکَ الۡحَقُّ وَ اَنۡتَ اَحۡکَمُ الۡحٰکِمِیۡنَ]،[ قَالَ یٰنُوۡحُ اِنَّہٗ لَیۡسَ مِنۡ اَہۡلِکَ ۚ اِنَّہٗ عَمَلٌ غَیۡرُ صَالِحٍ فَلَا تَسۡـَٔلۡنِ مَا لَـیۡسَ لَکَ بِہٖ عِلۡمٌ ؕ اِنِّیۡۤ اَعِظُکَ اَنۡ تَکُوۡنَ مِنَ الۡجٰہِلِیۡنَ]،[ قَالَ رَبِّ اِنِّیۡۤ اَعُوۡذُ بِکَ اَنۡ اَسۡـَٔلَکَ مَا لَـیۡسَ لِیۡ بِہٖ عِلۡمٌ ؕ وَ اِلَّا تَغۡفِرۡ لِیۡ وَ تَرۡحَمۡنِیۡۤ اَکُنۡ مِّنَ الۡخٰسِرِیۡنَ]
[And Nuh called upon his Lord, and said: My Lord! Indeed my son is from my family, and indeed Your promise is true, and You are the best of those who judge.]،[He said: O Nuh! Indeed he is not from your family; indeed it is a deed that is not righteous, so do not ask Me about that of which you have no knowledge. Indeed I advise you lest you be among the ignorant.]،[ He said: My Lord! Indeed I seek refuge in You from asking You that of which I have no knowledge; and if You do not forgive me and have mercy on me, I will be among the losers.]
It is proven that Nuh did not know the unseen.
[وَ لَقَدۡ جَآءَتۡ رُسُلُنَاۤ اِبۡرٰہِیۡمَ بِالۡبُشۡرٰی قَالُوۡا سَلٰمًا ؕ قَالَ سَلٰمٌ فَمَا لَبِثَ اَنۡ جَآءَ بِعِجۡلٍ حَنِیۡذٍ]،[فَلَمَّا رَاٰۤ اَیۡدِیَہُمۡ لَا تَصِلُ اِلَیۡہِ نَکِرَہُمۡ وَ اَوۡجَسَ مِنۡہُمۡ خِیۡفَۃً ؕ قَالُوۡا لَا تَخَفۡ اِنَّاۤ اُرۡسِلۡنَاۤ اِلٰی قَوۡمِ لُوۡطٍ]،[وَ امۡرَاَتُہٗ قَآئِمَۃٌ فَضَحِکَتۡ فَبَشَّرۡنٰہَا بِاِسۡحٰقَ ۙ وَ مِنۡ وَّرَآءِ اِسۡحٰقَ یَعۡقُوۡبَ]،[قَالَتۡ یٰوَیۡلَتٰۤیءَ اَلِدُ وَ اَنَا عَجُوۡزٌ وَّ ہٰذَا بَعۡلِیۡ شَیۡخًا اِنَّ ہٰذَا لَشَیۡءٌ عَجِیۡبٌ]،[ قَالُوۡۤا اَتَعۡجَبِیۡنَ مِنۡ اَمۡرِ اللّٰہِ رَحۡمَتُ اللّٰہِ وَ بَرَکٰتُہٗ عَلَیۡکُمۡ اَہۡلَ الۡبَیۡتِ ؕ اِنَّہٗ حَمِیۡدٌ مَّجِیۡدٌ]،[فَلَمَّا ذَہَبَ عَنۡ اِبۡرٰہِیۡمَ الرَّوۡعُ وَ جَآءَتۡہُ الۡبُشۡرٰی یُجَادِلُنَا فِیۡ قَوۡمِ لُوۡطٍ]،[ اِنَّ اِبۡرٰہِیۡمَ لَحَلِیۡمٌ اَوَّاہٌ مُّنِیۡبٌ]،[یٰۤـاِبۡرٰہِیۡمُ اَعۡرِضۡ عَنۡ ہٰذَا ۚ اِنَّہٗ قَدۡ جَآءَ اَمۡرُ رَبِّکَ وَ اِنَّہُمۡ اٰتِیۡہِمۡ عَذَابٌ غَیۡرُ مَرۡدُوۡدٍ]
[And indeed Our messengers came to Ibrahim with the good news; they said: Peace. He said: Peace. Then he did not delay in bringing a roasted calf.]،[ But when he saw that their hands did not reach toward it, he found them strange and felt a fear of them. They said: Do not fear! Indeed we have been sent to the people of Lut.]،[ And his wife was standing, and she laughed, so We gave her the good news of Ishaq, and after Ishaq, of Ya’qub.]،[ She said: Woe to me! Shall I bear a child while I am an old woman and this is my husband, an old man? Indeed this is a strange thing.]،[ They said: Do you wonder at the command of Allah? The mercy of Allah and His blessings be upon you, O people of the house! Indeed He is the Most Praiseworthy, the Most Glorious.]،[ Then when the fright left Ibrahim and the good news had come to him, he began to argue with Us about the people of Lut.]،[ Indeed Ibrahim was most forbearing, much given to supplication, one who turns back to Allah.]،[ O Ibrahim! Leave this; indeed the command of your Lord has come, and indeed, as for these people, a punishment that cannot be turned back is coming to them.]
It is proven that Ibrahim (peace be upon him) did not know the unseen.
The same thing:
is stated in these passages.
[وَلَمَّا جَآءَتۡ رُسُلُنَا لُوۡطًا سِیۡٓءَ بِہِمۡ وَ ضَاقَ بِہِمۡ ذَرۡعًا وَّ قَالَ ہٰذَا یَوۡمٌ عَصِیۡبٌ]،[وَ جَآءَہٗ قَوۡمُہٗ یُہۡرَعُوۡنَ اِلَیۡہِ وَ مِنۡ قَبۡلُ کَانُوۡا یَعۡمَلُوۡنَ السَّیِّاٰتِ قَالَ یٰقَوۡمِ ہٰۤؤُلَآءِ بَنَاتِیۡ ہُنَّ اَطۡہَرُ لَکُمۡ فَاتَّقُوا اللّٰہَ وَ لَا تُخۡزُوۡنِ فِیۡ ضَیۡفِیۡ اَلَـیۡسَ مِنۡکُمۡ رَجُلٌ رَّشِیۡدٌ]،[قَالُوۡا لَقَدۡ عَلِمۡتَ مَا لَنَا فِیۡ بَنٰتِکَ مِنۡ حَقٍّ ۚ وَ اِنَّکَ لَتَعۡلَمُ مَا نُرِیۡدُ]،[قَالَ لَوۡ اَنَّ لِیۡ بِکُمۡ قُوَّۃً اَوۡ اٰوِیۡۤ اِلٰی رُکۡنٍ شَدِیۡدٍ]،[قَالُوۡا یٰلُوۡطُ اِنَّا رُسُلُ رَبِّکَ لَنۡ یَّصِلُوۡۤا اِلَیۡکَ فَاَسۡرِ بِاَہۡلِکَ بِقِطۡعٍ مِّنَ الَّیۡلِ وَ لَا یَلۡتَفِتۡ مِنۡکُمۡ اَحَدٌ اِلَّا امۡرَاَتَکَ ؕ اِنَّہٗ مُصِیۡبُہَا مَاۤ اَصَابَہُمۡ ؕ اِنَّ مَوۡعِدَہُمُ الصُّبۡحُ ؕ اَلَـیۡسَ الصُّبۡحُ بِقَرِیۡبٍ]
[And when Our messengers came to Lut, he was distressed because of them and felt constrained on their account, and he said: This is a very hard day.]،[And his people came rushing to him, and before that they used to commit evil deeds. He said: O my people! These are my daughters; they are purer for you. So fear Allah and do not disgrace me regarding my guests. Is there not among you a single upright man?]،[They said: You certainly know that we have no right in your daughters, and you certainly know what we want.]،[ He said: If only I had some strength against you, or could take refuge in a strong support!]،[ They said: O Lut! Indeed we are messengers of your Lord; they will never reach you. So set out with your family during a part of the night, and let none of you look back, except your wife. Indeed, what will befall them will befall her. Indeed their appointed time is the morning. Is the morning not near?]
It is proven that Lut (peace be upon him) did not know the unseen.
The same thing:
is stated in these passages.
In Surah Yusuf it says:
[قَالَ بَلۡ سَوَّلَتۡ لَکُمۡ اَنۡفُسُکُمۡ اَمۡرًا ؕ فَصَبۡرٌ جَمِیۡلٌ ؕ عَسَی اللّٰہُ اَنۡ یَّاۡتِـیَنِیۡ بِہِمۡ جَمِیۡعًا ؕ اِنَّہٗ ہُوَ الۡعَلِیۡمُ الۡحَکِیۡمُ]،[ وَ تَوَلّٰی عَنۡہُمۡ وَ قَالَ یٰۤاَسَفٰی عَلٰی یُوۡسُفَ وَ ابۡیَضَّتۡ عَیۡنٰہُ مِنَ الۡحُزۡنِ فَہُوَ کَظِیۡمٌ]
[He said: Rather, your souls have made something attractive to you; so (my course is) beautiful patience. Perhaps Allah will bring them all to me. Indeed He is the All-Knowing, the All-Wise.]،[ And he turned away from them and said: Alas, my grief over Yusuf! And his eyes turned white from grief, and he was full of suppressed sorrow.]
It is proven that Sayyiduna Ya’qub (peace be upon him) did not know the unseen.
The same thing:
is stated in these passages.
In Surah Al-Naml it says:
[وَتَفَقَّدَ الطَّیۡرَ فَقَالَ مَا لِیَ لَاۤ اَرَی الۡہُدۡہُدَ اَمۡ کَانَ مِنَ الۡغَآئِبِیۡنَ]،[لَاُعَذِّبَنَّہٗ عَذَابًا شَدِیۡدًا اَوۡ لَاَاذۡبَحَنَّہٗۤ اَوۡ لَیَاۡتِیَنِّیۡ بِسُلۡطٰنٍ مُّبِیۡنٍ]،[فَمَکَثَ غَیۡرَ بَعِیۡدٍ فَقَالَ اَحَطۡتُّ بِمَا لَمۡ تُحِطۡ بِہٖ وَ جِئۡتُکَ مِنۡ سَبَاٍۭ بِنَبَاٍ یَّقِیۡنٍ]،[اِنِّیۡ وَجَدۡتُّ امۡرَاَۃً تَمۡلِکُہُمۡ وَ اُوۡتِیَتۡ مِنۡ کُلِّ شَیۡءٍ وَّ لَہَا عَرۡشٌ عَظِیۡمٌ]،[وَجَدۡتُّہَا وَ قَوۡمَہَا یَسۡجُدُوۡنَ لِلشَّمۡسِ مِنۡ دُوۡنِ اللّٰہِ وَ زَیَّنَ لَہُمُ الشَّیۡطٰنُ اَعۡمَالَہُمۡ فَصَدَّہُمۡ عَنِ السَّبِیۡلِ فَہُمۡ لَا یَہۡتَدُوۡنَ]،[اَلَّا یَسۡجُدُوۡا لِلّٰہِ الَّذِیۡ یُخۡرِجُ الۡخَبۡءَ فِی السَّمٰوٰتِ وَ الۡاَرۡضِ وَ یَعۡلَمُ مَا تُخۡفُوۡنَ وَ مَا تُعۡلِنُوۡنَ]،[اَللّٰہُ لَاۤ اِلٰہَ اِلَّا ہُوَ رَبُّ الۡعَرۡشِ الۡعَظِیۡمِ]،[قَالَ سَنَنۡظُرُ اَصَدَقۡتَ اَمۡ کُنۡتَ مِنَ الۡکٰذِبِیۡنَ]،[اِذۡہَبۡ بِّکِتٰبِیۡ ہٰذَا فَاَلۡقِہۡ اِلَیۡہِمۡ ثُمَّ تَوَلَّ عَنۡہُمۡ فَانۡظُرۡ مَا ذَا یَرۡجِعُوۡنَ]
[And he inspected the birds and said: Why do I not see the hoopoe? Or is he among the absent?]،[ I will certainly punish him with a severe punishment, or I will certainly slaughter him, or he will certainly bring me a clear proof.]،[ So he stayed not long, then said: I have encompassed that which you have not encompassed, and I have come to you from Saba with certain news.]،[ Indeed I found a woman ruling over them, and she has been given a share of everything, and she has a great throne.]،[ I found her and her people prostrating to the sun instead of Allah, and Satan has made their deeds attractive to them and has barred them from the way, so they are not guided]،[ so that they do not prostrate to Allah, who brings forth what is hidden in the heavens and the earth and knows what you conceal and what you declare.]،[ Allah, there is no god but He, the Lord of the Great Throne.]،[ He said: We will soon see whether you have spoken the truth or are among the liars.]،[ Take this letter of mine, and cast it to them, then turn away from them and see what they respond.]
It is proven that Sayyiduna Sulayman (peace be upon him) did not know the unseen. For the hoopoe said that he had brought news that Sulayman did not know, and Sayyiduna Sulayman (peace be upon him) said: We will soon see whether you have spoken the truth or are among the liars. He did not say that he already knew all of this.
[فَاَجۡمِعُوۡا کَیۡدَکُمۡ ثُمَّ ائۡتُوۡا صَفًّا ۚ وَ قَدۡ اَفۡلَحَ الۡیَوۡمَ مَنِ اسۡتَعۡلٰی]،[ قَالُوۡا یٰمُوۡسٰۤی اِمَّاۤ اَنۡ تُلۡقِیَ وَ اِمَّاۤ اَنۡ نَّکُوۡنَ اَوَّلَ مَنۡ اَلۡقٰی]،[ قَالَ بَلۡ اَلۡقُوۡا ۚ فَاِذَا حِبَالُہُمۡ وَ عِصِیُّہُمۡ یُخَیَّلُ اِلَیۡہِ مِنۡ سِحۡرِہِمۡ اَنَّہَا تَسۡعٰی]،[ فَاَوۡجَسَ فِیۡ نَفۡسِہٖ خِیۡفَۃً مُّوۡسٰی]،[ قُلۡنَا لَا تَخَفۡ اِنَّکَ اَنۡتَ الۡاَعۡلٰی]
[So devise your plan firmly, then come in a line; and indeed whoever overcomes today will succeed.]،[ They said: O Musa! Either you throw, or we will be the first to throw.]،[ He said: Rather, you throw. Then suddenly their ropes and their staffs appeared to him, because of their magic, to be moving swiftly.]،[ So Musa felt a fear in himself.]،[ We said: Do not fear; indeed you are the one who will prevail.]
[وَمَاۤ اَعۡجَلَکَ عَنۡ قَوۡمِکَ یٰمُوۡسٰی]،[قَالَ ہُمۡ اُولَآءِ عَلٰۤی اَثَرِیۡ وَ عَجِلۡتُ اِلَیۡکَ رَبِّ لِتَرۡضٰی]،[قَالَ فَاِنَّا قَدۡ فَتَنَّا قَوۡمَکَ مِنۡۢ بَعۡدِکَ وَ اَضَلَّہُمُ السَّامِرِیُّ]،[فَرَجَعَ مُوۡسٰۤی اِلٰی قَوۡمِہٖ غَضۡبَانَ اَسِفًا قَالَ یٰقَوۡمِ اَلَمۡ یَعِدۡکُمۡ رَبُّکُمۡ وَعۡدًا حَسَنًا اَفَطَالَ عَلَیۡکُمُ الۡعَہۡدُ اَمۡ اَرَدۡتُّمۡ اَنۡ یَّحِلَّ عَلَیۡکُمۡ غَضَبٌ مِّنۡ رَّبِّکُمۡ فَاَخۡلَفۡتُمۡ مَّوۡعِدِیۡ]
[And what made you hasten from your people, O Musa?]،[He said: They are right behind me, and I hastened to You, my Lord, that You may be pleased.]،[ He said: Then indeed We have tried your people after you, and the Samiri has led them astray.]،[ So Musa returned to his people, angry and grieved. He said: O my people! Did your Lord not promise you a good promise? Then did the period seem long to you, or did you wish that wrath from your Lord should descend upon you, so you broke your promise to me?]
It is proven that Sayyiduna Musa (peace be upon him) did not know the unseen.
The same thing:
is stated in these passages.
Sayyiduna Isa (peace be upon him) does not know the unseen. See:
[ذِکۡرُ رَحۡمَتِ رَبِّکَ عَبۡدَہٗ زَکَرِیَّا]،[اِذۡ نَادٰی رَبَّہٗ نِدَآءً خَفِیًّا]،[قَالَ رَبِّ اِنِّیۡ وَہَنَ الۡعَظۡمُ مِنِّیۡ وَ اشۡتَعَلَ الرَّاۡسُ شَیۡبًا وَّ لَمۡ اَکُنۡۢ بِدُعَآئِکَ رَبِّ شَقِیًّا]،[وَ اِنِّیۡ خِفۡتُ الۡمَوَالِیَ مِنۡ وَّرَآءِیۡ وَ کَانَتِ امۡرَاَتِیۡ عَاقِرًا فَہَبۡ لِیۡ مِنۡ لَّدُنۡکَ وَلِیًّا]،[یَّرِثُنِیۡ وَ یَرِثُ مِنۡ اٰلِ یَعۡقُوۡبَ وَ اجۡعَلۡہُ رَبِّ رَضِیًّا]،[یٰزَکَرِیَّاۤ اِنَّا نُبَشِّرُکَ بِغُلٰمِۣ اسۡمُہٗ یَحۡیٰی لَمۡ نَجۡعَلۡ لَّہٗ مِنۡ قَبۡلُ سَمِیًّا]،[قَالَ رَبِّ اَنّٰی یَکُوۡنُ لِیۡ غُلٰمٌ وَّ کَانَتِ امۡرَاَتِیۡ عَاقِرًا وَّ قَدۡ بَلَغۡتُ مِنَ الۡکِبَرِ عِتِیًّا]،[قَالَ کَذٰلِکَ ۚ قَالَ رَبُّکَ ہُوَ عَلَیَّ ہَیِّنٌ وَّ قَدۡ خَلَقۡتُکَ مِنۡ قَبۡلُ وَ لَمۡ تَکُ شَیۡئًا]،[قَالَ رَبِّ اجۡعَلۡ لِّیۡۤ اٰیَۃً قَالَ اٰیَتُکَ اَلَّا تُکَلِّمَ النَّاسَ ثَلٰثَ لَیَالٍ سَوِیًّا]
[A mention of your Lord’s mercy to His servant Zakariyya.]،[ When he called upon his Lord with a hidden call.]،[ He said: My Lord! Indeed my bones have grown weak and my head has blazed with white hair, and I have never been unfortunate in calling upon You, my Lord.]،[ And indeed I fear my kinsmen after me, and my wife has been barren from the start, so grant me from Yourself an heir]،[ who will inherit from me and inherit from the family of Ya’qub, and make him, my Lord, one with whom You are pleased.]،[ O Zakariyya! Indeed We give you good news of a boy whose name is Yahya; We have not made anyone before him his namesake.]،[ He said: My Lord! How shall I have a boy when my wife has been barren from the start and I have reached the extreme limit of old age?]،[ He said: So it is; your Lord has said: It is easy for Me, and indeed I created you before, when you were nothing.]،[ He said: My Lord! Appoint a sign for me. He said: Your sign is that you will not speak to people for three nights, though sound.]
It is proven that Sayyiduna Zakariyya (peace be upon him) also did not know the unseen.
The same thing:
is also stated in these passages.
[اِذۡ دَخَلُوۡا عَلٰی دَاوٗدَ فَفَزِعَ مِنۡہُمۡ قَالُوۡا لَا تَخَفۡ ۚ خَصۡمٰنِ بَغٰی بَعۡضُنَا عَلٰی بَعۡضٍ فَاحۡکُمۡ بَیۡنَنَا بِالۡحَقِّ وَ لَا تُشۡطِطۡ وَ اہۡدِنَاۤ اِلٰی سَوَآءِ الصِّرَاطِ]
When they entered upon Dawud, he was frightened of them. They said: Do not fear; we are two disputants, one of us has wronged the other, so judge between us with truth and do not be unjust, and guide us to the right path.
It is proven that Sayyiduna Dawud (peace be upon him) also did not know the unseen. That is why he was afraid, wondering who these people were who had come.
[وَ لِسُلَیۡمٰنَ الرِّیۡحَ غُدُوُّہَا شَہۡرٌ وَّ رَوَاحُہَا شَہۡرٌ ۚ وَ اَسَلۡنَا لَہٗ عَیۡنَ الۡقِطۡرِ ؕ وَ مِنَ الۡجِنِّ مَنۡ یَّعۡمَلُ بَیۡنَ یَدَیۡہِ بِاِذۡنِ رَبِّہٖ ؕ وَ مَنۡ یَّزِغۡ مِنۡہُمۡ عَنۡ اَمۡرِنَا نُذِقۡہُ مِنۡ عَذَابِ السَّعِیۡرِ]،[ یَعۡمَلُوۡنَ لَہٗ مَا یَشَآءُ مِنۡ مَّحَارِیۡبَ وَ تَمَاثِیۡلَ وَ جِفَانٍ کَالۡجَوَابِ وَ قُدُوۡرٍ رّٰسِیٰتٍ ؕ اِعۡمَلُوۡۤا اٰلَ دَاوٗدَ شُکۡرًا ؕ وَ قَلِیۡلٌ مِّنۡ عِبَادِیَ الشَّکُوۡرُ]،[ فَلَمَّا قَضَیۡنَا عَلَیۡہِ الۡمَوۡتَ مَا دَلَّہُمۡ عَلٰی مَوۡتِہٖۤ اِلَّا دَآبَّۃُ الۡاَرۡضِ تَاۡکُلُ مِنۡسَاَتَہٗ ۚ فَلَمَّا خَرَّ تَبَیَّنَتِ الۡجِنُّ اَنۡ لَّوۡ کَانُوۡا یَعۡلَمُوۡنَ الۡغَیۡبَ مَا لَبِثُوۡا فِی الۡعَذَابِ الۡمُہِیۡنِ]
[And for Sulayman We subjected the wind; its morning journey was a month and its evening journey was a month, and We caused a spring of molten copper to flow for him; and among the jinn were some who worked before him by the permission of his Lord, and whoever of them turned aside from Our command, We made him taste of the punishment of the blazing fire.]،[ They made for him whatever he wished: grand structures, statues, basins like reservoirs, and fixed cauldrons. Work, O family of Dawud, in gratitude. And few of My servants are truly grateful.]،[ Then when We decreed death for him, nothing indicated his death to them except a creature of the earth (a termite) that kept eating his staff. Then when he fell, it became clear to the jinn that if they had known the unseen, they would not have remained in the humiliating punishment.]
It is proven that the jinn also do not know the unseen. That is why they did not know of the death of Sayyiduna Sulayman (peace be upon him), until the woodworm ate the staff, and Sayyiduna Sulayman (peace be upon him) fell dead on the ground. For that long Sayyiduna Sulayman (peace be upon him) remained dead, leaning on the staff, and when the woodworm ate the staff he fell to the ground. It is proven that after dying he was in a dead state, not alive, as people say nowadays.
[وَعَلَّمَ اٰدَمَ الۡاَسۡمَآءَ کُلَّہَا ثُمَّ عَرَضَہُمۡ عَلَی الۡمَلٰٓئِکَۃِ فَقَالَ اَنۡۢبِـُٔوۡنِیۡ بِاَسۡمَآءِ ہٰۤؤُلَآءِ اِنۡ کُنۡتُمۡ صٰدِقِیۡنَ]،[ قَالُوۡا سُبۡحٰنَکَ لَا عِلۡمَ لَنَاۤ اِلَّا مَا عَلَّمۡتَنَا اِنَّکَ اَنۡتَ الۡعَلِیۡمُ الۡحَکِیۡمُ]،[قَالَ یٰۤاٰدَمُ اَنۡۢبِئۡہُمۡ بِاَسۡمَآئِہِمۡ فَلَمَّاۤ اَنۡۢبَاَہُمۡ بِاَسۡمَآئِہِمۡ قَالَ اَلَمۡ اَقُلۡ لَّکُمۡ اِنِّیۡۤ اَعۡلَمُ غَیۡبَ السَّمٰوٰتِ وَ الۡاَرۡضِ وَ اَعۡلَمُ مَا تُبۡدُوۡنَ وَ مَا کُنۡتُمۡ تَکۡتُمُوۡنَ]
[And He taught Adam all the names, then presented them to the angels, then said: Tell Me the names of these, if you are truthful.]، [They said: Glory be to You, we have no knowledge except what You have taught us; indeed You are the All-Knowing, the All-Wise.]، [He said: O Adam! Tell them their names. Then when he had told them their names, He said: Did I not say to you that indeed I know the unseen things of the heavens and the earth, and I know what you reveal and what you used to conceal?]
It is proven that the angels do not know the unseen. And from these verses it is also understood that the creation knows only that which it has been given knowledge of. The creation does not know the unseen. It is also proven that before Allah the Exalted informed him, Adam (peace be upon him) too did not know the names of those things, and this principle applies to the whole of creation.