Surah At-Tawbah, ayah 27 (9:27)
Surah At-Tawbah · Madani · ayah 27 of 129 · in Hunayn, the Sanctuary and the northern front
Ponder At-Tawbah 9:27 in the app →ثُمَّ يَتُوبُ ٱللَّهُ مِنۢ بَعْدِ ذَٰلِكَ عَلَىٰ مَن يَشَآءُ ۗ وَٱللَّهُ غَفُورٌ رَّحِيمٌ
“Then Allāh will accept repentance after that for whom He wills; and Allāh is Forgiving and Merciful.”
Saheeh International
What does Surah At-Tawbah 9:27 mean?
After the defeat of Hawazin, Allah leaves a door open for whom He wills: no battle, no punishment and no past is the last word.
Reflections
The door is not held by the winners
Read this ayah against the one before it. The battle is over. The enemy has been routed, and the previous line has called it the recompense of those who disbelieved. Then comes a small word, thumma: then Allah turns to whom He wills.
Notice who is not handed the key. Not the victors, who had only just recovered from their own flight. Not the defeated, who could not argue their way back. The ayah does not say 'whom you forgive', or 'whoever has earned it'. It says man yashāʾu: whom He wills.
That sentence quietly dethrones a pride many of us carry. When someone has wronged us, we like to keep their file. We decide whether they have changed enough. Without noticing, we appoint ourselves keepers of their way back to Allah.
Picture a family torn apart over an inheritance. One uncle took his brothers to court and won nothing but bitterness. Years later he starts praying in the front row at Fajr. He sets up a water fountain in his late father's name. At a cousin's engagement, two nephews mutter over the rice: 'After what he did? He doesn't get to be religious now.'
They may be owed an apology. They may be right that trust takes years to rebuild. But whether Allah turns to their uncle is not theirs to rule on. That file was never in their hands.
The same phrase has already appeared once in this surah, just after a command to fight those who broke their oaths (9:15). Both times it lands immediately after force. It is as if the surah will not let the sword be the final word on anyone.
The ego wants the last say over other people's endings. The ayah gives that last say to Allah alone, and then names Him: ghafūr, the One who covers sins, and raḥīm, the Merciful. If the One who holds the decision is like that, our grudges have no throne to sit on.
'I waited for you': the door kept open on earth
The commentators read this ayah alongside what happened next. After the battle, the families and herds of Hawazin were taken. The Prophet ﷺ went on to Taʾif, then came back to al-Jiʿrana, near Makka.
Sahih al-Bukhari records what followed. A delegation of Hawazin arrived, now as Muslims. They asked for their families and their wealth to be returned. He answered them with three things.
First, honesty about his limits. Others had a share in these spoils, he said, so he could not give back everything. 'The speech I love most is the most truthful.' Second, a choice: the captives or the wealth, one of the two. Third, a sentence that is easy to read past. 'I had been waiting for you.' The report adds that he had held back the division for more than ten nights.
They chose their families. He then stood before the army and told them: your brothers have come to us tāʾibīn, turning back in repentance. It is the very root of this ayah, t-w-b, on his lips.
One commentator gives this ayah exactly such people as its example: those who were defeated, then guided to Islam. The punishment of the day before had been real. So was the open door the following week.
Look at the shape of it. In heaven, Allah turns towards the servant. On earth, His Messenger ﷺ waits, keeping safe what the returning people would want most. People who had come out to fight him found he had been holding their children for their return.
We rarely wait like that. When someone leaves us in anger, we either move on or wait only to be proved right. The prophetic pattern is different: keep the door unlocked, and keep what is theirs safe, in case they come back.
If the Messenger ﷺ waited ten nights for a defeated enemy, it is worth asking how long Allah has been waiting for you.
Not one silent yes taken for granted
Returning the captives of Hawazin cost other people something. The spoils had already been divided among the army. Each fighter now held a share he had been promised.
The account in Sahih al-Bukhari shows how the Prophet ﷺ handled that cost. He did not simply announce that everything would be handed back. He asked. Whoever was willing to return his share freely could do so. Whoever wanted to keep his right would be repaid from the first spoils Allah granted them later. Generosity was invited, never seized.
The crowd called out that they agreed. A lesser leader would have taken the roar as a vote and moved on. He did not. He said, in effect: we cannot tell who among you agreed and who did not. Go back, and let your ʿurafāʾ, the men responsible for each group, bring us your answer. They went, asked, and returned to say that everyone was content.
That is leadership worth copying. When mercy to one group costs another, the leader does three things. He asks rather than commands. He offers to make whole anyone who cannot give. And he checks consent person by person, not by the volume in the room.
Picture a head teacher who wants to move a school's Friday finish time earlier, so families can reach Jumuʿa. At the parents' meeting the hall nods along. She could call it settled. Instead she asks each class representative to get a yes or a no from every family, including the ones who never come to meetings. A single mother on night shifts says it leaves her children alone for an hour. The plan changes to include an after-school room.
Allah's turning to a people is pure grace. But when that grace is carried out on earth through human hands, it still has to be fair to everyone it touches.
Before you turn, He has turned
We usually picture repentance as something we do. We feel sorry, we stop, we promise, and then perhaps Allah accepts. In that picture the first move is always ours.
This ayah puts the verb the other way round. It is not 'people repent'. It is yatūbu Allāhu ʿalā: Allah turns towards them.
The root t-w-b has one meaning in the lexicons: to return. Tāba is to come back, the way a traveller comes home along the road he left by. When the servant does it, it is a turning back from sin. When Allah does it, it is a turning towards the servant, granting him the return and accepting it.
One commentator presses the point hard. The surface of the words, he says, shows that this turning comes to them from Allah. Another explains it as Allah giving them the success to turn, and drawing them towards obedience. A third says He guides the defeated to Islam for a wisdom that requires it.
The Quran tells Adam's story the same way. He received words from his Lord, and then He turned to him (2:37). Even the words of the apology were a gift.
Think of a teenage girl after a bitter row with her mother. She lies on her bed, phone in hand, rehearsing an apology she cannot quite type. Then the screen shows her mother is typing. A message arrives first: 'Come and eat. I made your favourite.'
That is the shape of it, though Allah's turning is far greater than any mother's. The first stirring of regret you feel is not the start of your journey back. It is the sign that He has already turned towards you. So the right response to that stirring is not to wait until you feel worthy. It is to get up and walk through the door that is already open.
A 'then' after the worst day, and it is for you
The ayah could have said simply that Allah forgives whom He wills. Instead it adds two time-markers: thumma, then, and min baʿdi dhālika, after that. After what? One commentator answers plainly: after the punishment that had just fallen on them.
He adds a detail. The turning was offered to those still alive. The day had been terrible, but for the living it was not the end of the story. It was the chapter before the next one.
We tend to freeze people, and ourselves, at the worst moment. A failure becomes an identity. A court record becomes a name. The ayah refuses that freezing. It allows that consequences are real and then insists that they are not final.
Picture a man who was banned from driving for two years. He had been on his phone and hit a parked car with a child's seat in the back. The car was empty, thank Allah, but he has replayed it ever since. On the first morning his licence is valid again, he sits in the driver's seat for ten minutes before turning the key. He is not the same driver. The phone now lives in the glovebox.
The ban was a 'that'. The ten minutes in the driver's seat are his 'after that'. What happens next is still unwritten.
This is not a promise that consequences vanish. Hawazin's men had still died in battle, and the losses were not undone. But for anyone still breathing, a punishment is not a full stop. Notice, too, who gains when you turn back. Allah does not. He is the One free of all need (35:15). The whole benefit of the return is yours: the lighter chest, the clean page, the nearness.
If you are living through the aftermath of your own worst day, read this ayah as addressed to you. There is a thumma after it, and Allah is the One who writes it.
The enemy commander who went home in charge
The army of Hawazin had a commander, Malik ibn ʿAwf. He had gathered the tribes, marched them out with their families and herds, and set the ambush in the valley. If anyone seemed beyond the reach of this ayah, it was the man who led the attack.
Yet one commentator names him as an example of exactly whom this ayah describes. He was the leader at Hunayn, and some of his people became Muslim with him. Another records what followed. Malik came to the Prophet ﷺ as a Muslim. He was given a hundred camels, and he was kept in charge of his people, as he had been before.
Read that slowly. The man who led the army against the Messenger ﷺ went home not merely forgiven, but trusted. His past was not erased; it was redeemed. The skills that had organised an ambush would now serve his people in Islam.
This is what 'whom He wills' can mean in practice. Allah's turning reaches into places our imagination would have closed. And the Prophet ﷺ did not offer a grudging pardon with a permanent asterisk. He gave a real role.
Picture a football club whose bitterest rival is captained by a defender who once broke their striker's leg. Years later he wants to transfer. The fans are furious. The manager signs him anyway, after long conversations, and within a season gives him the armband. The supporters who booed him now sing his name.
Whom in your life have you filed permanently under their worst day against you? A colleague who undermined you, a relative who shamed you, a former friend who walked off with your secrets. You do not have to give them a hundred camels. But you may need to leave room for one possibility. Allah may already have turned to them, and one day you may be asked to trust them again.
'Whom He wills': arbitrary, or a door kept open?
A fair objection. If Allah forgives 'whom He wills', it can sound arbitrary, like a king pardoning whichever prisoner pleases him that morning. Worse, it can sound like a ruler who enjoys being begged. Why should anyone bother repenting, if the outcome is simply His choice?
Start with the ayah's own ending. It does not stop at 'whom He wills'. It joins that will to two names: ghafūr, forgiving, and raḥīm, merciful. His will is not a coin toss. One commentator explains it as His turning to whomever He wills 'for a wisdom that requires it'. The will belongs to One whose knowledge and mercy are complete.
Then ask whether He gains anything from our return. He does not. Our repentance adds nothing to Him, and our stubbornness takes nothing away. A ruler who needed to be begged would gain from it. He gains nothing.
And look at how eager the door is. Sahih Muslim records that Allah stretches out His hand by night, so that the one who did wrong by day may turn. He stretches it out by day, so that the one who did wrong by night may turn. This continues until the sun rises from where it sets.
Picture a shop owner lying awake at two in the morning. That afternoon he shouted at his young assistant in front of customers over a small mistake. He keeps reliving the boy's face. He gets up, makes wudu, and prays two quiet rakʿas. He decides to apologise to the boy at nine sharp.
According to the hadith, the hand was already stretched out at that hour. That is not an arbitrary pardon. It is a door that stays open around the clock.
What remains unknown is the outcome for any particular person. That is exactly why no one should despair of himself, and no one should feel safe enough to stop turning.
A common misreading
Often heard: Repentance starts with me: I fix myself first, then Allah may accept.
Closer to the ayah: Allah's turning comes first; even the stirring of regret is a sign that He has already turned towards you.
Words to know
يَتُوبُ yatūbu · the root t-w-b
Yatūbu is the present tense of tāba, to return. With ʿalā, and Allah as the subject, it means He turns towards someone in forgiveness and accepts their return. The present tense matters: it is not a single past event but something He keeps doing. Translations differ between 'accept repentance' and 'relent towards'; both carry part of the movement.
غَفُورٌ ghafūr · the root gh-f-r
Ghafūr is an intensive form: One who forgives much and again and again. The commentators gloss it here as forgiving the sins of whoever turns back, from among Hawazin and from everyone else. Paired with raḥīm (merciful), it says both that the record is covered and that kindness follows.
Questions to sit with
- Whose 'file' are you still keeping, as though their return to Allah needed your approval?
- What is the 'after that' you have been afraid to begin since your own worst day?
- Which person defined in your mind by one wrong against you might Allah already have turned to?
Live it today
Tonight, before you sleep, name one wrong of your own and turn back to Allah over it in two rakʿas, without waiting to feel worthy. Then name one person you have frozen at their worst, and make a single small gesture that leaves the door open.
Echoes in the Quran
- Surah Al-Baqarah 2:37Adam's story runs the same way: words came from his Lord, then Allah turned to him. The turning is His gift.
- Surah At-Tawbah 9:15The same phrase appears twice in this surah, each time just after force: Allah turns to whom He wills.
Come back to this ayah when you feel...
when you keep returning to the same sin · when you are tempted to give up on someone · when you are nursing a grudge · when you fear it is too late to change
This ayah and other verses on the same subject
Quran verses about repentance · Quran verses about forgiveness · Quran verses about Allah's mercy
Names of Allah in this ayah
- ar-Raḥīm: The Ever-MercifulAfter the defeat of Hawazin, no battle is the last word: the Forgiving and Merciful still turns to whom He wills, and the door is not held by the winners.
- al-Ghafūr: The ForgivingAfter the defeat of Hawazin He turns to whom He wills: no battle is the last word, because He covers the record and kindness follows.
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:27 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.