Al-Baqarah 2:239
فَإِنْ خِفْتُمْ فَرِجَالًا أَوْ رُكْبَانًا ۖ فَإِذَآ أَمِنتُمْ فَٱذْكُرُوا۟ ٱللَّهَ كَمَا عَلَّمَكُم مَّا لَمْ تَكُونُوا۟ تَعْلَمُونَ
If you are in danger, pray on foot or while riding.
But when you are safe, (take time to) remember Allah for teaching you what you did not know.
— Mustafa Khattab
Where this verse sits
Other English translations
If you fear (an enemy), pray on foot, or riding, (as may be most convenient), but when you are in security, celebrate Allah's praises in the manner He has taught you, which you knew not (before).
But if you are in danger, [pray] walking or riding; and when you are again secure, bear God in mind - since it is He who taught you what you did not previously know.
And if ye go in fear, then (pray) standing or on horseback. And when ye are again in safety, remember Allah, as He hath taught you that which (heretofore) ye knew not.
If you are in danger, pray when you are out walking or riding; when you are safe again, remember God, for He has taught you what you did not know.
But if you are in fear, then on foot, or riding. And when you are safe, remember God, as He taught you what you did not know.
And if you feared, then, pray on foot or as one who is mounted. And when you were safe, then, remember God, for He taught you what you be not knowing.
Word by word
in Quran+.
Roots in this verse
خَافَ means to fear, to be afraid.
In the Quran fear appears in two registers: the raw fear of worldly danger (fear of enemies, fear of poverty, fear of death) and the spiritually transformative خَشْيَة or خَوْف from God — which the Quran calls not a weakness but the beginning of wisdom.
The prophets are described as fearing God alone: إِنَّ ٱلَّذِينَ يَخْشَوْنَ رَبَّهُم بِٱلْغَيْبِ (those who fear their Lord in the unseen — 67:12).
Paradoxically, only those who fear God are free from all other fears.
A man (rajul), and the foot or leg; to go on foot, as to the pilgrimage.
رَكِبَ means to ride, to mount, to board.
In the Quran it is used for riding animals (camels, horses), for boarding ships, and metaphorically for being 'mounted' in a difficult situation.
وَٱلْخَيْلَ وَٱلْبِغَالَ وَٱلْحَمِيرَ لِتَرْكَبُوهَا (And He created horses, mules, and donkeys for you to ride — 16:8) — riding animals as divine provision.
Ships (الفُلْك) that people رَكِبَ are among the Quran's primary signs of God's power and generosity.
The root أ-م-ن is one of the richest in Arabic: it simultaneously means to believe, to be safe, to trust, and to grant security.
آمَنَ (he believed) in the Quran is always more than intellectual assent — it is an act of placing oneself under God's protection, an existential surrender into trust.
أَمَانَة (trust, a thing held in trust) and أَمَان (security, safety) flow from the same source, showing that in Quranic thinking, faith and security are the same movement of the soul.
ذَكَرَ means both the internal act of remembering and the outward act of mentioning — two things English splits that Arabic unifies.
In the Quran, God commands believers to remember Him frequently (ٱذْكُرُوا ٱللَّهَ كَثِيرًا), and the Quran itself is called ٱلذِّكْر — the Reminder — because its purpose is to reawaken humanity to realities it already knows but forgets.
The opposite of ذِكْر in Quranic theology is غَفْلَة — heedlessness, the spiritual sleep of forgetting God.
أَلِهَ means to worship, to be devoted to, to stand in awe.
إِلَـٰه (a god) is any being claimed to deserve worship.
الله (God) is the contraction of الإِلَـٰه (the God — the definite article making Him unique).
لَا إِلَـٰهَ إِلَّا ٱللَّهُ (There is no god but God) is the Quran's foundational declaration — not merely 'God exists' but 'nothing else deserves the worship and ultimate devotion that the word إِلَـٰه implies.' The first half (لَا إِلَـٰهَ) is as important as the second: negation before affirmation — clearing the ground before planting.
عَلِمَ is the primary verb for knowing in Arabic, covering both acquired knowledge and innate awareness.
In the Quran, knowledge has a radical asymmetry: God is ٱلْعَلِيم (the All-Knowing), whose knowledge is absolute and encompasses the unseen (ٱلْغَيْب); human knowledge is always partial, derived, and dependent on divine teaching.
عَلَّمَ (he taught, Form II) is used for God teaching Adam the names, teaching humanity by the pen — knowledge as divine gift rather than human achievement.
كَانَ is the Arabic verb 'to be,' but it carries a dimension English lacks: it describes a state that *was* true in the past, or a condition that God brought into being.
Its most awe-inspiring form in the Quran is the divine creative command كُن فَيَكُونُ — 'Be, and it is' — the theological formula for God's instantaneous, unconditional creative power.
كَوْن (the universe, existence itself) derives from this root.
Commentary
Notes by Muhammad Asad
228 This relates to any dangerous situation - for instance, in war- where remaining for any length of time at one place would only increase the peril: in such an event, the obligatory prayers may be offered in any way that is feasible, even without consideration of the qiblah.
Notes by Yusuf Ali
272 Verses 238-239 are parenthetical, introducing the subject of prayer in danger. This is more fully dealt with in 4:101-03.
Tazkirul Quran · tafsir of 2:238 to 2:240
The word hafizu (literally ‘guard’) is used to denote yet another aspect of prayer.
It is as if prayer were an object to be guarded just the way wealth is.
Great care in observing the proper timings of prayer, even in times of the greatest danger, and refraining from all such actions as may mar the spirit of prayer—all this is implied by the ‘guarding’ of prayer.
The third aspect of prayer is humility.
It is the essence of prayer.
Prayer is the standing of His servants before their Lord.
Therefore, it is essential that at times of prayer that state of mind should be induced in the suppliant, which prevails when the most humble stands before the Most High.
Topics
Each topic opens every verse on it. Browse all the topics, or install Quran+ Web on your phone to enjoy the full power behind this page.
One of the most powerful Quran apps, by IslamiCity.
Taking you to Surah Al-Baqarah 2:239.
The first visit can take a few seconds. Please wait.
Quran+ is IslamiCity's Quran study app: listen, read the Mushaf, learn Tajweed, search by voice.
Open this verse in Quran+ · Quran+ home
Put Quran+ on your Home Screen
Open Quran+ first. Then tap the Share button in Safari and choose Add to Home Screen.