Surah Al-'Ankabut, ayah 45 (29:45)
Surah Al-'Ankabut · Makki · ayah 45 of 69 · in The Book recited, and signs demanded
Ponder Al-'Ankabut 29:45 in the app →ٱتْلُ مَآ أُوحِىَ إِلَيْكَ مِنَ ٱلْكِتَـٰبِ وَأَقِمِ ٱلصَّلَوٰةَ ۖ إِنَّ ٱلصَّلَوٰةَ تَنْهَىٰ عَنِ ٱلْفَحْشَآءِ وَٱلْمُنكَرِ ۗ وَلَذِكْرُ ٱللَّهِ أَكْبَرُ ۗ وَٱللَّهُ يَعْلَمُ مَا تَصْنَعُونَ
“Recite, [O Muḥammad], what has been revealed to you of the Book and establish prayer. Indeed, prayer prohibits immorality and wrongdoing, and the remembrance of Allāh is greater. And Allāh knows that which you do.”
Saheeh International
What does Surah Al-'Ankabut 29:45 mean?
Recite and pray: prayer keeps telling you no to what is ugly, and greater still is Allah's remembrance of you, under His sight.
Reflections
The greater remembering is not yours
Most of us read the middle of this ayah as a ranking of our deeds. Remembering Allah is the greatest thing we can do. That reading is real, and commentators hold it.
But the reading the earliest generation pressed hardest runs the other way. The Companion Ibn ʿAbbās once asked a student what 'the remembrance of Allah is greater' meant. The student said: glorifying, praising and magnifying Him in prayer. Ibn ʿAbbās told him he had said something strange. Allah's remembrance of you, he said, is greater than your remembrance of Him.
The same is reported from several Companions. The great early commentator judged it the reading closest to the words.
The Prophet ﷺ conveyed it from his Lord, in both Ṣaḥīḥ al-Bukhārī and Ṣaḥīḥ Muslim. If My servant remembers Me in himself, I remember him in Myself. If he remembers Me in a gathering, I remember him in a better gathering.
Now picture a junior analyst in a large firm. For years he has mentioned the chief executive's name to friends, a little proudly. One day a director tells him: she named you at the board meeting, for the report you wrote. He goes very quiet. His mentioning her was nothing. Her mentioning him changes his week.
That is the shape of the ayah. We stand to pray thinking we are giving something. The greater event in that room is not our remembering. It is being remembered by the One who needs nothing.
That is what shrinks the ego. Our prayer is not a gift to a King who lacks it. Our pride in being regular, early, long in prostration, is pride in the smaller half of an exchange.
Someone may ask whether a God who wants to be remembered needs our attention. The ayah answers in its grammar. The comparison runs in His favour. His remembering is the greater; ours is only the doorway to it.
So the next time you say Allāhu akbar to begin a prayer, hear it this way. Greater than my standing here is His noticing that I stood.
A voice, not a cage
Here is what most of us already think this ayah says. Prayer stops sin. Pray properly and you will stop doing wrong. So if you still do wrong, your prayer is broken, or you are a fraud.
That reading has done quiet damage. People look at their own lapses, decide the prayer is not 'working', and drift away from it.
Read the verb again. Tanhā: it forbids. A forbidding is a voice. The ayah does not say prayer makes wrongdoing impossible. It says prayer tells you no.
One classical commentator answers the famous puzzle exactly this way. Why do we see people who pray and still do wrong? Because forbidding does not force compliance. Allah Himself forbids indecency and wrongdoing (16:90), and people still do them. The prayer's forbidding is no stronger than His.
A satnav that says 'turn around when possible' has not stopped the car. Ignore it for ten miles and it is still talking. That is not its failure. It is how voices work.
So the prayer speaks. In the standing, the bowing, the forehead on the floor, it asks: how can you defy a Lord you have just called greatest? The same commentator puts its words almost literally. Do not disobey a Lord who is worthy of what you have just done.
The Companion Ibn Masʿūd was told that a certain man prayed very long prayers. His reply was short. Prayer benefits only the one who obeys it. Then he recited this ayah.
That is the turn. The question is not whether your prayer forbids you. It does, every time. The question is whether you are listening. Someone still listening, however often they fail, has not been abandoned by their prayer.
So the worst response to your own lapses is to silence the voice. Keep praying, and obey it in one small thing today.
I know people who pray and do terrible things
The sharpest objection to this ayah is not philosophical. It is personal. I know people who pray five times a day and cheat their workers. So the claim is plainly false.
It is a fair point, and it should be answered without defensiveness.
First, the grammar. One commentator notes that saying 'Zayd forbids wrongdoing' does not mean he stops every wrong in the city. It means forbidding is a quality found in him. The ayah describes what prayer does, not a guarantee about each person who performs it.
Second, the comparison. The same commentator adds a sober observation. Whoever keeps up the prayer is, by its nature, further from indecency than he would be without it. Another puts it more bluntly. The person you see praying and sinning would sin more if he did not pray.
Picture a man who prays and still snaps at his teenage son. His sister points it out, and she is right. But she has known him for twenty years. Ten years ago he punched doors. Five years ago he shouted for an hour. Now he snaps, and comes back the same evening to apologise. The prayer has not finished its work. It has been working.
Third, the warning. The early generation did not excuse the cheating worshipper. Several of them said that a prayer which does not forbid its owner adds only distance from Allah. A commentator adds that the forbidding grows or fades with how the prayer is offered.
So both things are true. The prayer forbids. Some who pray do not listen. And the fair comparison is never between a praying sinner and an imagined saint. It is between that person with prayer and the same person without it.
What remains open is your own case. Not his. Yours.
'Recite', not 'recite to them'
To hear this ayah as its first listeners heard it, read the pages before it. The surah has just told of Nūḥ, Ibrāhīm, Lūṭ and Shuʿayb, and of ʿĀd and Thamūd. It has struck the parable of the spider. And most of Makkah has turned away.
Then come two plain commands to the Prophet ﷺ, in the singular: recite, and establish the prayer.
One classical commentator noticed what is missing. Allah does not say 'recite to them'. He says recite. After the refusal, the reciting is not chiefly for them any more. It consoles the Messenger's own grieving heart.
He then gives an image. A messenger stands between two parties: the one who sent him and the ones he was sent to. If the receivers will not take the letter, he does not stand in the road holding it. He turns back toward the sender. So the ayah says, in effect: if they will not accept you, turn your face to Me. Establish the prayer for Me.
To the first hearers this was not a general pious instruction. It came to a small, mocked community in a hostile city. Prayer was one of the things that marked them out. Recite and pray was, in that setting, a way of standing firm.
That changes how the rest of the ayah sounds. The prayer that forbids indecency was being prayed in a city full of what it forbade. The remembrance that is greater was offered by people who counted for little in the city's reckoning.
And the closing words, Allah knows what you do, would have landed as comfort before warning. Nobody in Makkah thought these prayers mattered. Allah saw them.
For anyone whose words have been refused, by family, colleagues or a whole town, the instruction stands. Do not stand in the road holding the letter. Turn back to the One who sent you.
Two commands, one claim, one greater, one witness
This ayah is built, and its shape carries the meaning.
It opens with two commands, both singular: recite, establish. Then it makes one claim about the prayer: it forbids indecency and wrongdoing. Then something larger arrives: the remembrance of Allah is greater. And it closes with a witness: Allah knows what you do.
Notice the movement. It runs from what you do with your mouth and body, to what that does to your conduct, to what stands above both. Then everything is placed under His sight.
Notice too the change of address. The commands are to one man. The final verb is plural: taṣnaʿūn, all of you make. One commentator explains that the command to him carries the command to his whole community. The ayah begins as a private instruction and ends as everyone's.
The final verb is chosen with care. The Quran could have said taʿmalūn, you do. It says taṣnaʿūn. One lexicon makes the difference plain. Ṣunʿ is doing a thing well, with skill, and is not said of animals the way plain doing is. An early commentator applies it here to the prayer itself. Allah knows what you do in your prayers: whether you keep their limits or let them slip.
So the ayah ends by treating your prayer as a piece of craft. It can be made well or made carelessly, and the One who sees knows which.
The comparative akbar also lacks its second half. Greater than what? One commentator says the silence is deliberate, as in Allāhu akbar. The remembrance of Allah is not merely greater than this or that. Greatness belongs to it.
Read in order, then, the structure is a ladder. Recite. Stand. Let the standing speak to your conduct. Know that something greater than your effort is happening. And remember that every movement is seen.
Why this ayah became the answer
Some ayat became famous because they are recited at a set time. This one became famous because people kept reaching for it when they asked two questions.
The first question was: what is the best deed? A man asked the Companion Salmān which deed is best. Salmān answered with a question. Do you not read the Quran? 'And the remembrance of Allah is greater.' Another Companion, asked the same, gave the same answer.
Behind those answers stands a hadith in Jāmiʿ al-Tirmidhī, graded ṣaḥīḥ. The Prophet ﷺ asked his Companions whether he should tell them the best of their deeds. The purest with their King, the highest in their ranks, better than spending gold and silver, better than meeting an enemy in battle. They said yes. He said: the remembrance of Allah.
The second question was: why does my prayer not change me? Here too the Companions reached for this ayah. Ibn Masʿūd's answer about the man with long prayers, that prayer benefits only one who obeys it, came with this ayah on his lips.
So the ayah became a reference point in two directions. It told people what to aim at, and how to check whether they were hitting it.
Ṣaḥīḥ Muslim adds a picture that explains its pull. Travelling on the road to Makkah, the Prophet ﷺ passed a mountain called Jumdān. He said: travel on; the mufarridūn have gone ahead. Asked who they were, he said: the men and women who remember Allah much.
That is why the ayah is quoted to people who feel left behind. You need not be first in anything else. Those who remember have already gone ahead, and the road after them is open.
Dressed too well to wade through it
A refuse collector spends his week in other people's rubbish. He wades through split bags and puddles without a thought. It is his job, and he does it well.
On Saturday his son graduates. He wears a new suit, bought for the day. Crossing the car park, he reaches a puddle he would splash through on Monday. He walks the long way round. Nobody told him to. The suit told him.
That is one of the oldest explanations of how prayer forbids. One classical commentator gives it almost exactly. A man whose work is handling filth owns one clean garment. While he wears it, he will not touch what he touches every day. The finer the garment, the firmer the refusal.
Prayer, he says, dresses the worshipper in the garment of mindfulness. The Quran names it: the clothing of taqwā is best (7:26). You stand before Allah with your hands folded, like someone in sight of a king.
Then he adds the decisive point. The prayers come one after another. So the garment is put back on before it has time to come off. And so the refusal lasts.
Here is why this is for you, not for Him. Allah is free of any need for the worlds (29:6). The suit does not improve the graduation, and the detour does not help the puddle. It is the man in the suit who gains.
Many people today feel they have no clean garment left. Their week is all wading: the noise, the scrolling, the small dishonesties of work. They are hungry for something that makes them step round a puddle without a lecture.
Five times a day, this ayah hands you the suit. Put it on. Notice the puddles you start walking round. And trust that the One who knows what you do sees every detour.
When wrong starts to look like a stranger
The two things prayer forbids have names with pictures in them.
Faḥshāʾ comes from a root of ugliness. One lexicon says anything that swells past its proper measure is fāḥish, but only in what is disliked. It adds a striking use: the miser was called al-fāḥish, since miserliness is the ugliest of a man's traits. So faḥshāʾ is not only the sins we whisper about. It is anything grown grotesque.
Munkar comes from a root the lexicons define by what it is not. It is the opposite of the knowledge a heart settles into. Something arrives that the heart cannot place, so the heart refuses it. An old line of verse has a woman failing to know a man grown grey. Munkar is the face you cannot place.
Now set both pictures beside the prayer. A person who stands before Allah five times a day is training the eye. Over months, some things begin to look swollen out of shape. Others begin to look like strangers.
A man returns to his old late-night café crowd after two years of steady prayer. Same corner table, same friends, same jokes about whoever is absent. He laughs at the first out of habit. By the third he notices he is not laughing. Nobody preached at him. The jokes simply look misshapen now.
That is the forbidding working from the inside. Not a rule shouted at the will, but a change in what the heart recognises.
It also explains why the change is slow. Taste is retrained by exposure, not argument. Five exposures a day, for years, change what looks normal.
So if you want to know whether your prayer is forbidding you, do not only count your sins. Notice what has started to look ugly that once looked fine.
A common misreading
Often heard: Prayer automatically stops sin, so if I still sin my prayer is worthless and I may as well stop.
Closer to the ayah: Tanhā means it forbids: a voice, not a cage. Forbidding does not force compliance, as Allah's own forbidding (16:90) does not. Like a satnav still saying 'turn around', it keeps speaking; whoever keeps listening has not been abandoned.
Often heard: 'The remembrance of Allah is greater' only ranks our deeds: remembrance beats other worship.
Closer to the ayah: The reading the earliest generation pressed: His remembering you is greater than your remembering Him. Another: the remembrance in the prayer is greater than its forbidding. Our dhikr is the doorway to His.
Often heard: Faḥshāʾ means sexual sin and nothing else.
Closer to the ayah: The root is anything swollen past its measure into ugliness; the lexicons even call the miser fāḥish. Munkar is what the heart cannot recognise, a face it cannot place.
Words to know
وَأَقِمِ wa-aqimi · the root q-w-m
And establish: not simply 'perform'. The root is standing upright and staying upright. The commentators explain it as keeping the prayer up in its time, with its recitation, bowing and prostration. Some add: keeping it up continually. A prayer that is 'established' stands; a prayer merely done may fall over.
وَلَذِكْرُ wa-la-dhikru · the root dh-k-r
And surely the remembrance. Dhikr is the opposite of forgetting, living in both heart and tongue. The emphatic la makes the line a pronouncement. The grammar lets the phrase mean Allah's remembering of you, or your remembering of Him, and the commentators keep both. One also reads 'remembrance' here as the prayer itself, as in 62:9.
تَصْنَعُونَ taṣnaʿūn · the root ṣ-n-ʿ
What you make, or craft. One lexicon separates ṣunʿ from plain doing: it is doing a thing well, with skill. An early commentator applies the word to the prayer itself: Allah knows whether you keep its limits or let them slip. The ayah ends by calling the whole of your conduct a made thing, seen in full.
Questions to sit with
- What has my prayer been telling me not to do that I keep walking past?
- Compared with myself without prayer, not with an imagined saint, what has prayer already changed in me?
- How would my next prayer feel if I stood in it as someone being remembered, rather than someone remembering?
Live it today
After your next prayer, sit for one minute before you stand. Name one thing the prayer just told you not to do today, and keep to that one thing.
Echoes in the Quran
- Surah Hud 11:87Madyan sneered that Shu'ayb's prayer reached into their idols and their money: exactly the prayer that forbids wrong.
- Surah Al-Anfal 8:35At the House itself their prayer was whistling and clapping, and it held no one back from anything.
- Surah Al-Ma'un 107:4Woe to those who pray heedlessly. A prayer of showing off is not the prayer that holds a person back.
Come back to this ayah when you feel...
after you pray · when your mind wanders in prayer · before standing to pray · when prayer feels heavy · when you keep returning to the same sin · when you feel far from Allah
This ayah and other verses on the same subject
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 · Tafsir al-Razi (abridged)
Read the whole surah
The road out of Makkah and the spider's house: a reflection on all of Surah Al-'Ankabut, from its first ayah to its last.
Ponder Al-'Ankabut 29:45 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.