General Context
After the brief scene of the people at the rising of the sun, this verse pauses to gather the account together. It gives no further details about the place or the people and returns the whole matter to Allah’s all-encompassing knowledge. Dhu al-Qarnayn reached the setting of the sun and then its rising. He saw what he saw of human life and exercised the responsibilities of rule that fell to him. The Qur’an selects what serves as a reminder and a lesson. Allah has complete knowledge of the means, dominion, troops, and plans at his disposal, and of the circumstances, customs, and needs of those peoples.
This pause fits what precedes it ﴿لَّمۡ نَجۡعَل لَّهُم مِّن دُونِهَا سِتۡرٗا﴾ (“for whom We had not made against it any shield.”, Qur’an 18:90). Just as those people stood in the open with nothing to shelter them from the sun, everything about Dhu al-Qarnayn lay open to Allah’s knowledge. A human being can grow immensely powerful, travel across the earth from east to west, and rule peoples no one else knows, yet remain within Allah’s knowledge at every instant. Power cannot hide its possessor from Allah. Distance cannot put a people beyond His knowledge. Historical obscurity cannot hide the truth from the Lord of the worlds.
Muqatil said: “Then He said ﴿كذلك﴾ (“Thus.”, Qur’an 18:91), meaning that in the same way he reached the rising of the sun as he reached its setting. Then He, exalted is He, began a new statement ﴿وقد أحطنا بما لديه خبرا﴾ (“And We had encompassed [all] that he had in knowledge.”, Qur’an 18:91), meaning that We knew all he had.” — Tafsir Muqatil ibn Sulayman — Muqatil ibn Sulayman.
For Muqatil, his reaching the east was like his reaching the west, and Allah knew all that was at his disposal. That knowledge takes the whole story back to its highest source. We know only what the Qur’an recites. Allah knows all he had, inwardly and outwardly, the means and the ends, the intentions and the acts.
Rhetorical Outpourings
The words ﴿كَذَٰلِكَ﴾ (“Thus.”, Qur’an 18:91) are concise and broad enough to admit several interpretations. Does it mean that he reached the rising of the sun just as he had reached its setting? That he dealt with the people of the east as he had dealt with those of the west? Or that the matter was as We described it? The breadth enriches the verse. All three possibilities return to Dhu al-Qarnayn’s situation as Allah has related it and connect his second journey with the first.
Al-Tabari said: “As for His words ﴿كَذَلِكَ﴾ (“Thus.”, Qur’an 18:91), their meaning is that he then followed a means in like manner until he reached the rising of the sun. ﴿كذلك﴾ (“Thus.”, Qur’an 18:91) belongs with the verb ‘followed.’ The sense is that he followed a means until he reached the rising of the sun just as he had followed a means until he reached its setting.” — Jamiʿ al-Bayan ʿan Taʾwil Ay al-Qur’an — Muhammad ibn Jarir al-Tabari.
On this reading, ﴿كَذَٰلِكَ﴾ (“Thus.”, Qur’an 18:91) refers to the manner of the journey and the use of the means available. As he took a route west, he took one east. A single word gathers up the whole course of a journey. This is part of the Qur’an’s eloquence. The context has already supplied the details. When the Qur’an says ﴿كَذَٰلِكَ﴾ (“Thus.”, Qur’an 18:91), the word carries all that went before, the movement, the power granted him, and his taking the available route.
Ibn ʿAtiyyah said: “His words ﴿كذلك﴾ (“Thus.”, Qur’an 18:91) mean that he acted toward them as he had toward the first people, those of the west. He makes this concise by saying ﴿كذلك﴾ (“Thus.”, Qur’an 18:91). Allah Most High then tells of His knowledge of everything at Dhu al-Qarnayn’s disposal and all the acts he undertook. It is also possible that ﴿كذلك﴾ (“Thus.”, Qur’an 18:91) opens a new statement and has no reference to the first group. Consider this. The first interpretation is more sound.” — Al-Muharrar al-Wajiz fi Tafsir al-Kitab al-ʿAziz — ʿAbd al-Haqq ibn Ghalib Ibn ʿAtiyyah.
This reading adds the suggestion that he treated the people of the east by the same standard of justice that he applied to those of the west, though the Qur’an gives no details. Justice went with Dhu al-Qarnayn wherever he went.
With ﴿وَقَدۡ أَحَطۡنَا بِمَا لَدَيۡهِ خُبۡرٗا﴾ (“And We had encompassed [all] that he had in knowledge.”, Qur’an 18:91) the focus shifts from Dhu al-Qarnayn’s travels to Allah’s knowledge. The image of encompassing depicts perfect knowledge, as though knowledge surrounds its object on every side, leaving nothing outside it, visible or hidden, present or absent. The word ﴿خُبۡرٗا﴾ (“in knowledge.”, Qur’an 18:91) conveys intimate knowledge of things in their details and inward reality.
Ibn ʿAshur said: “Khubr, with a dammah on the khaʾ and a sukun on the baʾ, means knowledge and a complete grasp of the matter. It is an indirect way of saying that what is known is so vast that its full extent can be known only to the Knower of all that is unseen.” — Al-Tahrir wa-l-Tanwir — Muhammad al-Tahir Ibn ʿAshur.
What Dhu al-Qarnayn had was immense and extensive, from his troops and resources to his affairs and plans. Only Allah could know the full extent of it. The verse gives due weight to Dhu al-Qarnayn’s position and directs our attention higher to the knowledge of Allah that encompasses it.
Interpretive and Reflective Outpourings
This verse teaches us that Qur’anic narratives give the account we need for guidance. We may like to know more about Dhu al-Qarnayn, the size of his armies, the names of the countries, the nature of the people, how he treated the people at the rising of the sun, how he governed, and how long he stayed. After a glimpse of the journey the Qur’an says ﴿وَقَدۡ أَحَطۡنَا بِمَا لَدَيۡهِ خُبۡرٗا﴾ (“And We had encompassed [all] that he had in knowledge.”, Qur’an 18:91). The economy of detail is deliberate. Allah knows and chooses to tell us what will benefit us.
Al-Biqaʿi said: “Since his affair was astonishing in itself and on close acquaintance with it in particular, He says ﴿كذلك﴾ (“Thus.”, Qur’an 18:91), that is, his affair was as We have briefly described to you. ﴿وقد أَحَطْنا﴾ (“And We had encompassed”, Qur’an 18:91) by virtue of Our majesty ﴿بِما لَدَيْهِ﴾ (“[all] that he had”, Qur’an 18:91), all of it, including the most astonishing of matters, ﴿خُبْراً﴾ (“in knowledge.”, Qur’an 18:91), with knowledge of the inward aspects of his affairs as well as the outward. Let nobody find it strange that We tell of this or of the Companions of the Cave, or think that the details of the spirit are concealed from Us. We know affairs inwardly and outwardly, what is witnessed and what is unseen. How could it be otherwise when We brought them into being? We tell of them only what We wish, as wisdom requires.” — Nazm al-Durar fi Tanasub al-Ayat wa-l-Suwar — Ibrahim ibn ʿUmar al-Biqaʿi.
This passage expresses the method of the whole surah with particular grace. The Prophet, may Allah bless him and grant him peace, was asked about matters of the unseen or of history, the Companions of the Cave, the spirit, and Dhu al-Qarnayn. The Qur’an teaches in reply that Allah knows everything and chooses what He gives in detail. Wisdom lies in giving the heart and mind as much as can set them right.
In ﴿بِمَا لَدَيۡهِ﴾ (“[all] that he had”, Qur’an 18:91) the pronoun may refer to Dhu al-Qarnayn and the resources, forces, and arrangements at his disposal. It may also refer to the place and the people and what was with them. Allah’s knowledge encompasses it all. Al-Maturidi said: “﴿وقد أحطنا بما لديه خبرا﴾ (“And We had encompassed [all] that he had in knowledge.”, Qur’an 18:91). Some said it is connected to His words ﴿قل [سأتلو] عليكم منه ذكرا﴾ (“Say, "I will recite to you about him a report.”, Qur’an 18:83). ﴿وقد أحطنا بما لديه خبرا﴾ (“And We had encompassed [all] that he had in knowledge.”, Qur’an 18:91) thus means, [I shall recite] to you from knowledge. Others said that it begins a new statement independently of what came before, meaning that We had full knowledge of what was with him.” — Taʾwilat Ahl al-Sunnah — Muhammad ibn Muhammad al-Maturidi.
The two readings share the same essential meaning. What is recited proceeds from all-encompassing knowledge. This steadies the believer’s heart when reading an account whose details are unavailable to historians. Its source is the knowledge of Allah.
Spiritual Outpourings
The verse brings the heart back to the awareness that Allah watches over it. Dhu al-Qarnayn, with all his power, travels, and troops, lay open to Allah’s knowledge. What, then, of us? A person’s intentions, plans, means, strength, weaknesses, fears, and hopes all fall within Allah’s knowledge. People may never know you. They may misunderstand you and fail to see how honest or how calculating you are. Allah has full knowledge of what lies within and around you.
Such knowledge is at once frightening and reassuring. It frightens the person who conceals injustice behind authority, makes worldly means a cover for arrogance, or travels the earth heedless of Allah’s gaze. It reassures the person who works in private, carries a burden no one sees, or serves the truth far from public attention. Allah knows what is with that person, and nothing is lost with Him.
Al-Zamakhshari said: “﴿كذلك﴾ (“Thus.”, Qur’an 18:91) means that Dhu al-Qarnayn’s affair was as We described it, to convey its magnitude. ﴿وَقَدْ أَحَطْنَا بِمَا لَدَيْهِ﴾ (“And We had encompassed [all] that he had”, Qur’an 18:91) refers to his troops, equipment, and means of sovereignty. ﴿خُبْراً﴾ (“in knowledge.”, Qur’an 18:91) again conveys the vast extent of all this.” — Al-Kashshaf ʿan Haqaʾiq Ghawamid al-Tanzil — Mahmud ibn ʿUmar al-Zamakhshari.
However numerous and formidable his troops, equipment, and means of rule, Allah encompasses them. Let worldly rule never loom so large in the believer’s sight that he forgets its true Owner. Whatever the extent of Dhu al-Qarnayn’s resources, Allah knows them in full. They were His gift in the first place.
The verse also offers a glimpse of the beauty of Qur’anic harmony, as Sayyid Qutb remarked: “Let us pause briefly over the artistic harmony of the presentation. The scene before us is an open scene in nature. The sun shines without any screen between it and the people. In the same way, Dhu al-Qarnayn’s conscience and every one of his intentions lie open to Allah’s knowledge. The scene in nature and the scene within Dhu al-Qarnayn thus correspond through the Qur’an’s precise art of composition.” — In the Shade of the Qur’an — Sayyid Qutb Ibrahim Husayn al-Shadhili.
The connection is graceful and precise. The people have nothing to shelter them from the sun, and the inward life of Dhu al-Qarnayn is fully exposed to Allah’s knowledge. The scene outside mirrors the scene within. Everything lies open before the All-Knowing.
Psychological Outpourings
The verse addresses the soul when it thinks that what it “has” is a sealed private possession. We have abilities, relationships, wealth, knowledge, memories, intentions, fears, secrets, and projects. The Qur’an says ﴿وَقَدۡ أَحَطۡنَا بِمَا لَدَيۡهِ خُبۡرٗا﴾ (“And We had encompassed [all] that he had in knowledge.”, Qur’an 18:91). Nothing that is with you lies outside Allah’s knowledge. He encompasses even what you cannot sort out or understand about yourself.
This trains the soul in honesty. Since Allah knows what is with me, I have no need for a false appearance. Since He knows my capacities and limits, I have no cause for despair when I cannot do what I have not been charged to do. Since He knows what I hide, there is nowhere for ostentation, cunning, or covert injustice to take refuge.
Abu Zahrah said: “﴿وقد أَحَطْنا بِما لَدَيْهِ خُبْراً﴾ (“And We had encompassed [all] that he had in knowledge.”, Qur’an 18:91) means that We knew his condition, his duties, his competence to carry them out, and the duties the circumstances of those peoples imposed upon their ruler, duties he would attend to without delay. Our knowledge of that was exact. It is the knowledge of the All-Aware, the All-Knowing.” — Zahrat al-Tafasir — Muhammad Abu Zahrah.
This adds something both psychological and practical. Allah knows what a person has, what those capacities can bear, and what the situation of those entrusted to him requires. Dhu al-Qarnayn was charged with his task because Allah knew he could undertake it. When a servant takes on a legitimate responsibility, let him gauge his ability and resources and fulfill his duty as well as he can, seeking help from Allah and from people with expertise. Uncertainty about some results is no excuse to neglect what is within his reach.
At the same time, Allah’s encompassing knowledge stops the self from growing inflated. What you have is no great secret to Allah, no means outside His dominion, and no power independent of Him. When a believing soul sees its gifts, it says, “My Lord knows best what I have. He gave it to me, and He will ask me about it.”
Pedagogical Outpourings
The verse teaches educators and leaders the limits of what they know of other people. A leader may know their outward circumstances, see some of their resources, and judge from appearances. Allah alone knows the entirety of what they have. A leader learns humility in judgment, caution about haste, and justice on the evidence before him, leaving what people conceal within themselves to Allah.
The verse also teaches that Allah assigns duties with full knowledge. Dhu al-Qarnayn was directed to different peoples and environments. Allah knew his ability and the means available to him. Responsibility goes hand in hand with capacity. When Allah opens a way for His servant to serve, He gives him suitable means or commands him to seek them. Sound education looks at the capacities of a learner or worker before putting responsibility upon him.
Abu Zahrah explains the point: “The evident purpose of the text is that when Allah charged Dhu al-Qarnayn with this duty, He knew in exact detail the intellectual and psychological powers and capacity he had to undertake it. He knew too what effort he would need to address the duties assigned to him.” — Zahrat al-Tafasir — Muhammad Abu Zahrah.
This offers a principle for education and administration. Before assigning a duty, understand the person’s capacity. Before placing responsibility, assess the means. Allah, the All-Knowing, knew all that Dhu al-Qarnayn had. Human beings must exercise humility. They should refrain from demanding something of people when they do not know whether they can do it, and take care to recognize the capacities Allah has given them that may serve the good.
As Qur’anic teaching, the verse also helps the student accept a concise account. Allah has told us some of what He knows. A reader may ask, “What did Dhu al-Qarnayn do with the people of the sunrise? What were they like? Why does the Qur’an not say how he governed them?” The verse seems to reply that Allah knows and has told you what will benefit you. Let the reminder be your concern. Curiosity can wait.
Contemporary Outpourings
In an age of ever increasing data and surveillance, the verse reminds us that complete knowledge belongs to Allah. States and institutions can collect abundant information about people, but they cannot encompass who those people are. They cannot know intentions, depths of fear, sincerity of motive, or every circumstance. Human judgment always needs justice and humility because its knowledge is partial.
Allah’s knowledge is complete, free of injustice, deficiency, or misuse. The believer trusts the justice of his Lord and is mindful of His watchfulness. If your right disappears into the files, Allah still knows all that concerns you and your adversary. If people distort your intentions, Allah knows the truth of your affairs. If you hold resources that no one knows about, Allah knows how you used them.
In public affairs, the verse reminds leaders that their means are held in trust and subject to account. Allah knows what they have, their budgets, power, troops, media, decision-making authority, and the duties that come with it. Everything a ruler “has” is an open file before Allah.
Muhammad Husayn Fadlallah said: “Nothing escaped Us of what he was engaged in, what he undertook, or the projects and arrangements he planned... This may be an indirect way of saying that Allah encompassed his affairs so that they were within His care, protection, and approval... Or it may magnify the scope of his affairs, which attained such precision and breadth that only Allah could encompass them.” — Min Wahy al-Qur’an — Muhammad Husayn Fadlallah.
This speaks to planning, action, and projects. Dhu al-Qarnayn moved within Allah’s knowledge, and every project today, small or great, unfolds within that knowledge too. Allah knows its purposes, methods, effects, and whether those involved act sincerely or corruptly.
Verse 91 remains an important bridge between the second and third journeys. It tells us that his affair was as it has been related to us and that beyond what has been told lies inexhaustible knowledge. Keep your attention on the purpose that was given, and let what was passed over rest. Allah knows all that was with Dhu al-Qarnayn, just as He knows the Companions of the Cave, the righteous servant, and the affairs of every people in the farthest parts of the earth. Whoever comes to that awareness with a believing heart will feel no arrogance about what he has, no sorrow when others do not know his circumstances, and no urge to demand from the story what Allah did not intend as a reminder.
﴿كَذَٰلِكَ وَقَدْ أَحَطْنَا بِمَا لَدَيْهِ خُبْرًا﴾ (91)
Thus. And We had encompassed [all] that he had in knowledge. (Qur’an 18:91)