Surah At-Tawbah, ayah 7 (9:7)
Surah At-Tawbah · Madani · ayah 7 of 129 · in Broken oaths, kept faith, tested hearts
Ponder At-Tawbah 9:7 in the app →كَيْفَ يَكُونُ لِلْمُشْرِكِينَ عَهْدٌ عِندَ ٱللَّهِ وَعِندَ رَسُولِهِۦٓ إِلَّا ٱلَّذِينَ عَـٰهَدتُّمْ عِندَ ٱلْمَسْجِدِ ٱلْحَرَامِ ۖ فَمَا ٱسْتَقَـٰمُوا۟ لَكُمْ فَٱسْتَقِيمُوا۟ لَهُمْ ۚ إِنَّ ٱللَّهَ يُحِبُّ ٱلْمُتَّقِينَ
“How can there be for the polytheists a treaty in the sight of Allāh and with His Messenger, except for those with whom you made a treaty at al-Masjid al-Ḥarām? So as long as they are upright toward you, be upright toward them. Indeed, Allāh loves the righteous [who fear Him].”
Saheeh International
What does Surah At-Tawbah 9:7 mean?
Amid treaties ended with those who broke them, one clause holds: while they keep faith with you, keep faith with them.
Reflections
As long as they stand straight, so do you
Two pharmacies face each other across one road. Years ago their owners agreed to take turns with the late-night duty, a week each. Since then they have fallen out over a delivery bay and no longer speak. Yet on his own weeks, the second owner keeps his lights on until eleven. On the other man's weeks he pulls his grille down at seven, though the queue across the road is long and his till is empty.
That is the heart of this ayah, and it sits in a surprising place. Surah At-Tawbah opens with a public disavowal: the treaties of those who had broken faith are ended. Then, in the middle of that hard proclamation, comes a clause that refuses to be swept along. Fa-mā istaqāmū lakum fa-staqīmū lahum: as long as they are upright with you, be upright with them.
The grammar is careful. The small word mā can be read as 'for as long as', so the duty lasts exactly as long as their faithfulness does. It can also be read as 'whenever', so every single day they keep the terms is a day you must keep them too. Either way, the condition sits on their side, and the obedience sits on yours. You do not get to decide that they are enemies at heart and act first. You watch what they do, and you answer it in kind.
This is keeping your word to people you do not like. It is easy to keep promises to friends. The test of a promise is the person you would rather not owe anything. The ayah does not ask you to feel warmth. It asks you to stand straight for as long as they do.
The pharmacist across the road may never know why the grille comes down at seven. But the ayah's last words say who does: Allah loves the mindful.
Two swords sent home for a promise made to captors
Sahih Muslim preserves a short report from Hudhayfa ibn al-Yamān that shows how seriously this kind of promise was taken. He explains why he was not at Badr. He and his father had set out, and men of Quraysh seized them on the road. You are going to Muhammad, they said. No, the two replied, only to Madinah. The Qurayshi men let them go. But first they took from them the covenant of Allah: go to Madinah, and do not fight alongside him.
The two came to the Prophet ﷺ and told him what had happened. A battle was coming, and every sword counted. His answer was this: go back, both of you. We will keep our word to them, and we will ask Allah's help against them.
Think about what that cost. The promise had been extracted on a road, by an enemy, from two men who had little choice. Many would call such a promise void. The battle Hudhayfa missed was close at hand. And still the Prophet ﷺ sent two fighters away rather than let them break a word given in Allah's name.
Notice the second half of his sentence, too. He did not say, so we will lose. He said, we will ask Allah's help against them. Keeping faith with an enemy was not weakness. It was a decision to trust Allah with the result rather than buy an advantage with a broken promise.
This ayah came years later, but it carries the same spirit. Fa-staqīmū lahum: be upright with them. The early Muslims had already watched what that meant on the road to Badr. When you are tempted to treat a promise as cancelled because the other person is hostile, remember the two swords that went home.
The mindful, defined by a kept treaty
Ask people what taqwā looks like and they will describe a face: lowered eyes, long prayers, perhaps tears. Mindfulness of Allah is pictured as something private and devotional.
Now look at where this ayah places the phrase. 'Allah loves the muttaqīn', the mindful, comes straight after an instruction about a treaty. The commentators draw the line plainly. One explains the mindful here as those who keep their covenants. Another says that waiting patiently on these clans, and not attacking them, is itself one of the deeds of the mindful. A third defines the mindful here as one who fears Allah in his duties. Such a person keeps his word to whoever he gave it.
So in this ayah, taqwā (mindful awe of Allah) has a very public shape. It is a signature you honour after the person who received it has become someone you dislike.
Picture a man who has prayed the dawn prayer at his mosque every day for twenty years. He promised a decorator the job of painting his flat. The decorator turned down other work to keep the week free. Then a cousin offers to do it cheaper, and the man sends a short message: plans have changed, sorry. He goes to the mosque the next morning as usual. Which part of his week did the ayah describe as taqwā (mindful awe of Allah)?
The ayah does not belittle the prayer. It widens the word. Taqwā comes from guarding yourself, keeping a shield between you and harm. Here the harm you are guarding against is your own convenience. A promise kept when breaking it would cost nothing visible is exactly what this ayah says Allah loves.
A straightened stick, carried level from both ends
The verb in this ayah comes from the root of standing upright. The lexicons picture it in a stick set straight, with no bend left in it. Establishing the prayer, iqāmat al-ṣalāh, is named from straightening a bent stick. A straight road is the nearest road, since every bend lengthens the journey. These images are established in the lexicons. The form used here, istaqāma, adds a sense of holding that straightness and staying in it.
Now notice that the ayah uses the same verb twice, facing two directions. Istaqāmū lakum: they stood straight towards you. Fa-staqīmū lahum: so stand straight towards them. It is a mirror. Uprightness is not described as a solitary posture here, but as something two sides hold between them.
Think of two men carrying a long sheet of shop-window glass down a lorry's ramp. Neither can carry it alone. It stays level only while each keeps his end at the height of the other. If one drops his end on purpose, the glass is lost, whoever was 'right'. If one starts lowering his end because he suspects the other might, the glass is lost just the same.
The ayah binds the believers to keep their end level as long as the other side does. It does not let them lower it first out of suspicion. Elsewhere the Quran insists that even when betrayal is feared, the other side must be told openly before an agreement ends (8:58). The glass is only set down in plain view.
That is what istiqāma (uprightness) looks like when it involves someone else. It is not a feeling of being upright. It is a straight line, held at both ends, for as long as both hands keep holding.
The commentators disagree on who was meant. Does it matter?
A careful reader goes to the commentaries to learn exactly who 'those you made a treaty with at the Sacred Mosque' were. She comes back puzzled. Some early authorities said Quraysh, the people of Makkah. Others said Khuzāʿa. Others named clans of Bakr and Kinana, such as Banu Ḍamra. If the experts cannot agree on the names, she asks, what is the ayah telling anyone?
Look at how the disagreement was handled. One leading commentator weighed the views by their dates. These ayat were proclaimed in the year 9, a year after Makkah was opened. Quraysh had already broken the Hudaybiya truce by helping their allies against Khuzāʿa. So no pagan of Quraysh was left in Makkah with a treaty still to keep. The ayah, he concluded, must mean clans who had stayed out of the breach. Another commentator asked the same question: why command uprightness towards a people whose treaty was already over?
Now notice what nobody disputed. Every view agrees that these people, whoever they were, had kept faith. And so faith was to be kept with them. The argument is about the address on the envelope, not the letter inside it.
Picture three grandchildren reading a note left by their grandfather. Keep renting the corner shop at the old rate, it says, to the family who never missed a month. They argue over which of two families he meant. Not one of them suggests raising the rent on both. The instruction outlives the uncertainty about names.
The Quran's historical ayat often work like this. The precise people may be debated, and the commentators record the debate honestly. The principle carried is not in doubt: a pact the other side honours, you honour, to its end. How such ayat bear on later times is a question for the schools of law; this ayah's own instruction is plain.
When you are the stronger side
By the year 9, the balance had turned. Makkah had been opened. The Muslims were the strongest power in Arabia. A small clan such as Banu Ḍamra, still holding a treaty from years earlier, had no way to make anyone honour it. If its terms were quietly ignored, there was no court to appeal to.
That is exactly when this command arrives. It is addressed to the stronger party. The weaker side's protection is not its own strength but Allah's instruction to the strong.
Leaders know this test well, though usually on a smaller scale. A large hotel group has a contract with a small family laundry that washes its linen. The hotel could end it any day, pay invoices sixty days late, or change the terms on a whim. The laundry would have to accept it. A finance director who pays that laundry on the agreed date, every month, is doing something nobody will ever audit. She is keeping her end level when she could drop it without a sound.
The ayah teaches a leader's habit: your agreements bind you most when you are least likely to be held to them. Power reveals whether a promise was a principle or a tactic. A tactic is kept while it is useful. A principle is kept because you said it.
There is also a strategic wisdom here. People watch how the strong treat the weak. A reputation for keeping faith, even with small and powerless partners, is worth more than any advantage gained by breaking it. Communities, companies and families all learn who can be trusted from moments like this.
If you hold power over someone today, look at the promises you have made them. Ask whether you would keep them if no one could ever make you.
The reward named is love, not victory
A widow agrees to sell her late brother's van to a young plasterer for an agreed price. He will bring the money on Saturday. On Thursday evening a dealer rings and offers a good deal more. Nothing is signed. The young man would never find out. She tells the dealer it is already sold, puts the phone face down, and finds that she sleeps well.
The ayah does not end with 'and you will win', or 'and they will respect you'. It ends: Allah loves the mindful. That is the whole reward on offer.
Allah gains nothing from her kept word. He is 'the Rich, beyond need' (35:15). The benefit of the command returns entirely to the one who obeys it. What she gains is not money. She keeps the self that she would like to be: a person whose word holds, in a world where so many words do not.
Many people feel a quiet hunger for exactly this. They are tired of conditional loyalties and small betrayals, including their own. They would like to be someone others can lean on without checking the fine print. The Quran says the hearts that find rest are those that remember Allah (13:28). Part of that rest is having nothing to hide, nothing to manage, no second version of events to keep straight.
In this ayah, the worship asked for is not a prayer or a fast. It is a promise kept with a straight back towards someone who may never thank you. That too is worship. And the One who commands it is the One who loves the person who keeps it.
A common misreading
Often heard: Taqwā (mindfulness of Allah) is a private devotional state: long prayers, lowered eyes, tears.
Closer to the ayah: Here the mindful are defined by keeping a treaty with people they had fought; taqwā includes honouring your word when breaking it would cost nothing visible.
Often heard: Istiqāma (uprightness) is a solitary virtue, a matter of one's own private discipline.
Closer to the ayah: The ayah uses the verb twice, facing both ways: uprightness can be a straight line held between two parties, kept level from both ends.
Words to know
فَٱسْتَقِيمُوا۟ fa-staqīmū · the root q-w-m
So be upright. The root means standing upright and staying so; the lexicons picture a stick straightened until no bend remains. The form here adds holding that straightness steadily. The same verb appears twice in the ayah, first for them and then for you, so the uprightness is shared between two parties. The commentators explain it as keeping to the terms of the treaty for as long as the other side does.
عَهْدٌ ʿahdun · the root ʿ-h-d
A treaty or covenant. The ayah asks how those who broke faith could have a covenant 'with Allah and with His Messenger', repeating the word 'with' for each. One commentator notes that the repetition shows such a covenant would count with neither. The same root returns at once in 'those you made a treaty with', marking the exception.
Questions to sit with
- Which promise am I keeping only because the other person is still pleasant to me, and what would change if they stopped being so?
- Where do I hold more power than the person I made an agreement with, and how am I treating that agreement?
- What would it look like for me to be 'upright towards' someone I find difficult this week?
Live it today
Write down one promise you have made to someone you do not much like, and keep it exactly, to the day. Before you do, say quietly: for the One who loves the mindful.
Echoes in the Quran
Come back to this ayah when you feel...
when you have given your word · when you want to hit back · when you hold power over others
This ayah and other verses on the same subject
Quran verses about love · Quran verses about taqwa, being mindful of Allah
The classical tafsir of this ayah
Tafsir al-Jalalayn · Tafsir Ibn Kathir (abridged) · Tafsir al-Tabari (abridged) · Tafsir al-Qurtubi (abridged) · Tafsir al-Sa'di
Read the whole surah
A proclamation at Mina, and the road home: a reflection on all of Surah At-Tawbah, from its first ayah to its last.
Ponder At-Tawbah 9:7 in the app →In the app: the Mushaf, every word with its root, side-by-side tafsir, and your own private reflections. Free, no account, works offline.