General Context
Here the curtain falls on one of the most telling scenes in the story of Moses. Moses (peace be upon him) began by recalling Allah's favors to his people, stirring their resolve to enter the Holy Land, and warning them against turning away from Allah's command. Then the two righteous men called on them to stand firm and rely on Allah. The people would have none of it. They announced their refusal in those high-handed words, ﴿فَاذْهَبْ أَنْتَ وَرَبُّكَ فَقَاتِلَا إِنَّا هَاهُنَا قَاعِدُونَ﴾ — “so go, you and your Lord, and fight. Indeed, we are remaining right here.” (5:24)
When nothing more could persuade them, Moses took refuge in his Lord and laid before Him what he had suffered at the hands of his people, ﴿رَبِّ إِنِّي لَا أَمْلِكُ إِلَّا نَفْسِي وَأَخِي فَافْرُقْ بَيْنَنَا وَبَيْنَ الْقَوْمِ الْفَاسِقِينَ﴾ — “My Lord, indeed I do not possess except myself and my brother, so part us from the defiantly disobedient people.” (5:25)
The answer from Allah came decisively: ﴿فَإِنَّهَا مُحَرَّمَةٌ عَلَيْهِمْ أَرْبَعِينَ سَنَةً يَتِيهُونَ فِي الْأَرْضِ﴾ — “Then indeed, it is forbidden to them for forty years [in which] they will wander throughout the land.” (5:26)
They had refused to enter the land when ordered to do so, and were then denied it. They had chosen to hold back from the duty laid on them, and their fate was wandering, turmoil, and the loss of a settled place. The consequence thus fits the character of the disobedience in a scene that brings together the justice of the recompense and the power of the image.
Al-Biqa'i deftly connected this conclusion with the purpose of the surah:
“This story gives the clearest evidence that they broke their covenants.”
(Nazm al-Durar fi Tanasub al-Ayat wa-l-Suwar — Ibrahim ibn Umar al-Biqa'i).
The surah that opens with the command ﴿أَوْفُوا بِالْعُقُودِ﴾ — “fulfill [all] contracts.” (5:1) — now gives a historical example of what follows when a covenant is broken, when people understand Allah's command and then refuse to put it into effect.
The answer from Allah goes further than declaring the punishment. It closes with words of consolation to Moses (peace be upon him), ﴿فَلَا تَأْسَ عَلَى الْقَوْمِ الْفَاسِقِينَ﴾ — “So do not grieve over the defiantly disobedient people.” (5:26)
There is a tender touch here that tells us something about prophethood. Moses was angered by his people's disobedience, yet still felt compassion for them. Their suffering hurt his heart. Allah's words came to lighten his sorrow and assure him that what had happened was neither unjust nor without purpose.
Ibn Ashur said:
“Allah's words to him, exalted is He, { فإنّها محرّمة عليهم أربعين سنة } — ‘Then indeed, it is forbidden to them for forty years’ (5:26) — and the words that follow answer what Moses said, { فافرق بيننا وبين القوم الفاسقين } — ‘so part us from the defiantly disobedient people.’ (5:25) The answer embraces all that Moses' words contained.”
(Al-Tahrir wa-l-Tanwir — Muhammad al-Tahir Ibn Ashur).
The story of the refusal comes to an end with the passage from exhortation and dispute to divine judgment. The lesson is there for every community that knows the truth and faces the test of honoring it. Favors leave responsibility intact, promises come with their conditions, and hesitating before a duty can deprive a person of good that was close at hand.
Rhetorical Outpourings
The verse begins ﴿قَالَ فَإِنَّهَا﴾, with “[Allah] said” and “Then indeed, it” (5:26).
The subject of ﴿قَالَ﴾ — “[Allah] said” (5:26) — is an implicit pronoun referring to Allah, glorified and exalted is He. The context tells us this. Moses called on his Lord in the preceding verse, and these words came in answer to his prayer.
The particle fa in ﴿فَإِنَّهَا﴾ — “Then indeed, it” (5:26) — signals immediate connection with what precedes. The recompense comes in the wake of the people's disobedience and their persistence in refusing the command.
The pronoun in ﴿فَإِنَّهَا﴾, rendered “it” (5:26), refers to the Holy Land mentioned in Allah's words ﴿ادْخُلُوا الْأَرْضَ الْمُقَدَّسَةَ الَّتِي كَتَبَ اللَّهُ لَكُمْ﴾ — “enter the Holy Land which Allah has assigned to you” (5:21).
The judgment comes in an emphatic nominal sentence, ﴿فَإِنَّهَا مُحَرَّمَةٌ عَلَيْهِمْ﴾ — “Then indeed, it is forbidden to them” (5:26). It affirms what Allah has decreed.
Most commentators take this prohibition to mean that the people were barred from the land and denied entry. It concerns a decree that they would have no means of entering for the period or under the circumstances indicated by the context. Entry in itself did not become an unlawful act.
Al-Maturidi said:
“This is a matter of barring and deprivation. It is not a prohibition of the kind that establishes a legal ruling.”
(Ta'wilat Ahl al-Sunnah — Muhammad ibn Muhammad al-Maturidi).
One of the finest points of expression in the verse is the attachment of the adverbial phrase ﴿أَرْبَعِينَ سَنَةً﴾ — “forty years” (5:26).
Grammarians and commentators differ between two principal views about what governs the phrase.
The first attaches it to ﴿مُحَرَّمَةٌ﴾ — “forbidden” (5:26). This means that they were barred from entering the land for forty years and that they wandered during that period.
The second attaches it to ﴿يَتِيهُونَ﴾ — “they will wander” (5:26). Here the meaning is that they wander in the land for forty years. The prohibition on entry for the generation that refused remains unrestricted by that expression of time. It may continue until the members of that generation die.
Al-Farra' said:
“Its accusative form is governed by the prohibition. If you broke the sentence there and took the accusative to be governed by ﴿يَتِيهُونَ﴾ — ‘they will wander’ (5:26) — that would be correct as well.”
(Ma'ani al-Qur'an — Yahya ibn Ziyad al-Farra').
Al-Tabari favored the first grammatical analysis, while a group of commentators took the second. The difference matters when determining how long entry remained forbidden or who entered the land after the forty years ended.
Then Allah says ﴿يَتِيهُونَ فِي الْأَرْضِ﴾ — “they will wander throughout the land.” (5:26)
In Arabic, tih means bewilderment and straying from the path to one's destination. A person is said to have wandered when they are bewildered and cannot find their direction. A desert in which travelers lose their way is therefore called tayha'.
The imperfect verb ﴿يَتِيهُونَ﴾ — “they will wander” (5:26) — depicts a recurring condition of movement and bewilderment. They neither settle on a destination nor reach the goal that has been denied them.
There is a fine correspondence between their earlier words ﴿إِنَّا هَاهُنَا قَاعِدُونَ﴾ — “Indeed, we are remaining right here.” (5:24) — and the words of Allah, glorified is He, ﴿يَتِيهُونَ فِي الْأَرْضِ﴾ — “they will wander throughout the land.” (5:26) They chose to stay back from the work, and what followed was movement without a destination. This is a contrast we can reflect on because it fits the setting of the recompense. Other reasons for the punishment taking this particular form remain possible.
The verse ends with ﴿فَلَا تَأْسَ عَلَى الْقَوْمِ الْفَاسِقِينَ﴾ — “So do not grieve over the defiantly disobedient people.” (5:26)
The word asa means grief. The prohibition comes to console Moses (peace be upon him) over what befell his people. His compassion for them could remain.
Their description as defiantly disobedient gives the reason for the judgment. They had departed from obedience to Allah in a duty conveyed to them by their prophet.
The structure of the verse thus completes its meaning. It gives the judgment denying entry, depicts the wandering, and offers consolation to the prophet who was hurt by what his people had come to.
Interpretive and Reflective Outpourings
The verse means that Allah, exalted is He, decreed that the people who refused to carry out the command of Moses (peace be upon him) would be denied entry to the Holy Land. He tried them with forty years of wandering in the land, then told His prophet to refrain from giving himself over to grief for them, since what had befallen them followed from their disobedience.
The commentators have differed on questions pertaining to this meaning. Those differences should be stated precisely, with due reserve about accounts whose details are often unestablished.
The first question is how to reconcile ﴿الَّتِي كَتَبَ اللَّهُ لَكُمْ﴾ — “which Allah has assigned to you” (5:21) — with ﴿فَإِنَّهَا مُحَرَّمَةٌ عَلَيْهِمْ﴾ — “Then indeed, it is forbidden to them” (5:26).
Scholars have replied that what was assigned may have been a command to enter conditional on obedience, or a promise that entry would take place if they responded to the charge. Once they refused, what had been promised did not come about for them in those circumstances.
Al-Zamakhshari said:
“He assigned it to you on condition that you strive against its people. When they refused to fight, it was said ﴿فإنها محرّمة عليهم﴾ — ‘Then indeed, it is forbidden to them’ (5:26).”
(Al-Kashshaf 'an Haqa'iq Ghawamid al-Tanzil — Mahmud ibn Umar al-Zamakhshari).
Others held that the land was assigned to the Children of Israel as a whole. Their refusal delayed the fulfillment of the assignment until those in later generations whom Allah permitted to enter went in.
The promise that Moses conveyed to his people has to be understood together with the duty that accompanied it and the recompense that followed disobedience.
The second question is whether entry remained forbidden for only forty years, or whether the generation that refused lived out their lives before anyone entered the land.
Al-Tabari transmitted two views, then favored the view that the forty years are attached to the prohibition. The bar on entry applied generally within the stated period, after which Allah permitted entry.
He said:
“In my view, the more correct of the two opinions is that the expression ‘forty years’ takes the accusative under the governing word for prohibition.”
(Jami' al-Bayan 'an Ta'wil Ay al-Qur'an — Muhammad ibn Jarir al-Tabari).
According to the other view, only the wandering is confined to forty years. Those who persisted in refusing died before the land was entered. Then their children and the righteous who remained entered.
This difference gives rise to disagreement over who led the entry once the wandering ended. It is said that Moses (peace be upon him) entered with Joshua son of Nun. Another account holds that Moses died earlier and Joshua led them in.
Details that the Qur'an leaves unstated should remain open, especially the identities, places, and dates over which the accounts are at variance.
The third question concerns the nature of the wandering that befell them.
Most commentators hold that they lost their way in a wilderness. They kept walking without finding a way out, and the days and years went by while they remained in that condition.
Some accounts relate that they would find themselves in the morning where they had spent the night and in the evening where they had been in the morning. Those accounts describe the recurrence as defying the ordinary course of events.
Ibn Atiyyah, however, mentioned another possibility:
“It is possible that their wandering came from a lack of unity and how seldom they could agree on what to do.”
(Al-Muharrar al-Wajiz fi Tafsir al-Kitab al-Aziz — Abd al-Haqq ibn Ghalib Ibn Atiyyah).
He explained that their differences, the disorder in their affairs, and their disorganized movement from place to place may have prolonged the wandering in a way familiar in human life.
This possibility leaves the received view that their wandering defied the ordinary course of events intact. It does show that scholars did not agree on how it took place.
What the verse establishes with certainty is forty years of wandering. The extent of the land, how the people returned to the places they had left, and reports of clothes that never wore out or extraordinary events without a sound text behind them need not become part of how we understand the verse.
Many reports drawn from Israelite traditions entered the detailed accounts of this story. They include those concerning Uj ibn Anaq and his exaggerated height. Critical commentators questioned them, and understanding the verse does not depend on accepting them.
The fourth question is whether Moses and Aaron (peace be upon them both) were with the people in their wandering.
Scholars differed. One view holds that they were absent because the wandering was a punishment, and Moses had asked his Lord to separate him from the defiantly disobedient people. Another holds that they were with them. Their presence was part of carrying on their mission and guiding the people. Even though they lived in the same circumstances at that stage, the wandering was no punishment for the two prophets.
Ibn Ashur adopted this interpretation. The hardship a prophet bears for the guidance of others does not have the same standing as hardship that falls on someone in recompense for disobedience.
An upright person may be in the same circumstances as others without being held to account for their wrong. Outward circumstances may look alike, while people's standing before Allah differs with their actions and intentions.
For the basic meaning it is enough that the wandering was a consequence of refusal and disobedience. What happened to Moses and Aaron and who entered the land after them are matters of historical and exegetical disagreement.
Spiritual Outpourings
One of the deepest insights this verse brings to a believer's heart is how dangerous it is to know a path to good and then turn away from what it asks of us until its fruit is lost to us.
The people of Moses stood near the land they were called to enter. That favor was almost within reach. Their attitude toward the duty laid on them came between them and that favor, beyond any distance still to cross.
It is a reminder that sometimes people are deprived of something through neglect of the means for good that were open to them. Knowing what is right leaves the work of doing it to us.
Al-Sa'di said:
“This shows that punishment for wrongdoing can take the form of losing a favor one already has.”
(Taysir al-Karim al-Rahman fi Tafsir Kalam al-Mannan — Abd al-Rahman ibn Nasir al-Sa'di).
We cannot infer that everyone deprived of a favor in life is being punished for a wrong. An upright believer can be tried, and something they seek can be delayed for reasons unknown to them. The verse concerns a particular event in which Allah identifies the punishment Himself.
We also learn that hardship need not cut off every form of mercy. Elsewhere the Qur'an relates what Allah bestowed on the Children of Israel: manna and quails, the shade of clouds, and water that gushed forth. The commentators connect a number of these favors to the time of their wandering.
Al-Zamakhshari paused over the presence of favor in the midst of affliction:
“In the same way some calamities befall the disobedient to discipline them, while favors continue to descend on them in abundance.”
(Al-Kashshaf 'an Haqa'iq Ghawamid al-Tanzil — Mahmud ibn Umar al-Zamakhshari).
Here we see that divine discipline can leave the means of life in place. A servant may need to examine their conduct while Allah in His bounty continues to bestow many blessings on them.
The closing words ﴿فَلَا تَأْسَ عَلَى الْقَوْمِ الْفَاسِقِينَ﴾ — “So do not grieve over the defiantly disobedient people.” (5:26) — open onto another form of mercy, bringing comfort to the prophet whose heart was hurt by what had befallen his people.
Moses (peace be upon him) still felt compassion for them. He cared deeply that they should be guided, even after the disobedience he had seen from them.
Al-Sa'di explained why the consolation was fitting:
“Allah, exalted is He, knew that His servant Moses had the utmost compassion for created beings, especially his own people, and that his heart might soften toward them.”
(Taysir al-Karim al-Rahman fi Tafsir Kalam al-Mannan — Abd al-Rahman ibn Nasir al-Sa'di).
The justice of the judgment and the mercy of the consolation come together in the verse. Compassion leaves responsibility intact, and justice can go hand in hand with a tender heart. The believer must leave to Allah the judgment He reserves to Himself and remain compassionate toward others within the bounds of what He commands.
Psychological Outpourings
The image of wandering invites us to consider what happens in people's lives and in communities when they lose their sense of direction.
There can be much movement and unceasing effort that lead nowhere clear if planning is poor, the will is unsound, or people are at odds. Here we may take a symbolic lesson from ﴿يَتِيهُونَ فِي الْأَرْضِ﴾ — “they will wander throughout the land.” (5:26) Movement can occur without progress, activity without achievement, and a long journey without arrival.
The historical meaning of the verse remains in place. The wandering of which Allah tells us took place.
Sayyid Qutb paused over this depiction:
“Here the context leaves them in their wandering, with nothing more added. … It is a scene in which the psychological lesson meets artistic beauty, in the Qur'an's way of expressing things.”
(Fi Zilal al-Qur'an — Sayyid Qutb Ibrahim Husayn al-Shadhili).
The Qur'an does not dwell on the particulars of the punishment. It leaves the people in the scene of their wandering. Its very brevity is enough to make us feel their bewilderment and lack of a settled place.
Another psychological insight concerns what prolonged enslavement can do to a community. In the Muqaddimah, in the chapter “Humiliation and Submission to Others as Impediments to a Tribe's Rise to Sovereignty,” Ibn Khaldun discusses an effect of oppression also recognized by Rashid Rida. It can weaken initiative and accustom people to subjection. Going from captivity to freedom is only a beginning in learning to think and act independently.
Rashid Rida said:
“The character of peoples who grow up under despotism and are ruled by injustice and persecution deteriorates.”
(Tafsir al-Qur'an al-Hakim, known as Tafsir al-Manar — Muhammad Rashid Rida).
This is a social explanation of an aspect of the story. Weakness is no inherited trait of the Children of Israel or of anyone else. Those who suffer under despotism bear no blame for the injustice done to them.
Despotism can leave deep marks on people's behavior and their institutions. These effects are not inevitable. Education, justice, restored confidence, and a growing capacity to take responsibility can address them.
Some commentators understood the forty years to have made room for a new generation that had not lived under the same conditions of enslavement and was better able to face what the preceding generation could not. That is a reasonable social inference. Reform need not always take forty years, and a generation can be longer or shorter in different societies.
Pedagogical Outpourings
One of the clearest lessons of the verse is that reminding people of their blessings and acquainting them with a duty are only steps in education. We must help to form a will that can respond when difficulties arise.
Before the judgment of wandering the people heard a reminder of Allah's favors, a clear command, a warning against turning back, and counsel from two righteous men. They still did not respond. The distance between knowing and doing became plain.
An educator should therefore attend to forming habits that help people carry out their duties. Teaching principles in times when commitment to them goes untested is only a beginning.
The verse also shows a person's responsibility for the consequences of their choices. The people were denied entry when they resisted the duty brought to them by their prophet. A person cannot separate knowing what is right from the effects of how they act.
Teaching responsibility must be done justly. Children do not carry the wrongs of their parents. The mistakes of one generation cannot be attributed to all who come after it.
Commentators relate that later generations entered the land after the wandering ended. This opens a way to reflect on renewal and reform, free of endlessly inherited blame.
One account of Moses (peace be upon him) places him with his people during the wandering. On this view a reformer may continue to care for and teach a community in hard circumstances, even while responsible for none of its wrongs.
Ibn Ashur said:
“This was easy for Moses to bear, because he stayed with them to guide them and put their affairs right, which was the particular charge of his mission. The effort it called for raised him higher in rank.”
(Al-Tahrir wa-l-Tanwir — Muhammad al-Tahir Ibn Ashur).
It is a lesson in an educator's constancy in performing a duty while recognizing how much change in others lies beyond them. A community's shortcomings must be distinguished from the personal responsibility of someone who has done their part well.
Contemporary Outpourings
The verse still speaks to every age because it reveals the danger of losing direction after acquiring the means to progress. A people may have come through a period of subjection and gained knowledge, resources, and independence. It can still stumble in building its future if it fails to turn those blessings into orderly, responsible work.
Projects of reform can multiply and plans and public addresses pile up, while life on the ground remains far from the declared aims. There may be movement in abundance, with no agreement on the destination or little ability to carry plans out and review them.
The image of wandering thus offers a social lesson. The amount of activity alone cannot measure progress. A clear goal, sound means, and the ability to assess and correct results matter.
Abu Zahra considered what a society needs after enslavement. He explained that Allah would not let them reach their aim
“unless they changed, turning weakness into strength and faintheartedness into resolve.”
(Zahrat al-Tafasir — Muhammad Abu Zahra).
This is a social application of the story. It cannot stand as an empirical rule accounting for every historical event, or as grounds for saying that weak peoples deserve the injustice that befalls them.
It is particularly important today to distinguish the deprivation that the Qur'an identifies as divine punishment in a particular incident from the disasters, wars, and displacement people suffer now. Without revelation to establish it, no one can say with certainty that an affliction that befalls a people today is punishment for a particular wrong.
Likewise, ﴿فَإِنَّهَا مُحَرَّمَةٌ عَلَيْهِمْ﴾ — “Then indeed, it is forbidden to them” (5:26) — cannot be made into a permanent legal ruling about land ownership or sovereignty in our time. The verse concerns recompense that befell a particular community in the time of Moses (peace be upon him). The rights of inhabitants, property, sovereignty, and the protection of civilians have independent grounds and constraints in Islamic jurisprudence, civil law, and history. An isolated reading of this story gives no grounds to set them aside.
Another important lesson is that social reform involves the formation of people as well as changing external circumstances. An oppressive power may disappear, while fear and dependence survive in some people and institutions. Addressing them requires knowledge and justice, giving people a chance to exercise responsibility, and building confidence.
This responsibility belongs to those able to act, to institutions, and to communities. Those who have suffered oppression should never be made to carry it as though they had caused the injustice that befell them.
The closing words ﴿فَلَا تَأْسَ عَلَى الْقَوْمِ الْفَاسِقِينَ﴾ — “So do not grieve over the defiantly disobedient people.” (5:26) — establish an important limit on the relation of reformers to the results of their work. A reformer may give their best efforts and provide sincere counsel, then witness disobedience or failure and grieve for the good that has been lost. Such sorrow is understandable. It must not become a despair that keeps them from continuing their work or a conviction that they are responsible for all the choices other people make.
Moses (peace be upon him) could not compel his people to obey, and he was not charged with bearing the guilt of the disobedience they chose. He conveyed the message and called them to Allah as he was obliged to do, then left the judgment to his Lord.
Here the story in this passage ends suggestively. The people had come near the land they were called to enter. They fell away from it when they turned away from what the command required. Their distance from the land was a matter of their response to the duty as much as the space still to cross.
A goal can be near and be made distant by weakness of will. Resources can be at hand and come to nothing through poor planning. A person can know the road and choose never to take it.
In the reflective sense, true wandering comes when people lose the sense of direction that ought to guide their work and remain busy moving without drawing closer to the right goal. It can happen to someone on familiar ground as surely as to a traveler in unmarked country.
This lesson should remain in service of the meaning the Qur'an brings. The verse in its primary sense is an account of a particular punishment decreed by Allah. Reflection on hesitation and on the loss of stability is one fruit of pondering that account.
Allah closed the story by consoling Moses (peace be upon him). Justice remains joined to mercy, responsibility remains within its proper bounds, and a prophet can grieve without that grief standing in the way of Allah's judgment.
Thus the episode that began by recalling favors and ended in wandering comes full circle. A favor calls for gratitude, an obligation calls for a response, fear hardens into refusal, and Allah's judgment shows what follows from breaking a covenant.
The reader should leave this story with a question to ask themselves rather than a judgment to pass on others. Do I use the knowledge, ability, and freedom Allah has given me in what pleases Him? Or am I content to know the way and turn back whenever it is time to act?
That is the lesson that stays after the scene has closed, the exchange has fallen silent, and the argument has ended. Allah's judgment remains a witness that wishing cannot fulfill a covenant and that guidance without an effect on conduct may cost a person the fruits they had hoped to reap.
﴿قَالَ فَإِنَّهَا مُحَرَّمَةٌ عَلَيْهِمْ أَرْبَعِينَ سَنَةً يَتِيهُونَ فِي الْأَرْضِ فَلَا تَأْسَ عَلَى الْقَوْمِ الْفَاسِقِينَ﴾
[Allah] said, "Then indeed, it is forbidden to them for forty years [in which] they will wander throughout the land. So do not grieve over the defiantly disobedient people." (5:26)