A word palindrome reads the same backwards word by word, as a letter palindrome does letter by letter. Arabic rhetoric knows the figure under the name al-'aks wa-l-tabdil, "reversal and exchange": in the definition al-Tahanawi gives in his dictionary of the sciences, you "put one part of the speech first, then turn it round, bringing forward what you delayed and delaying what you brought forward". Al-Qazwini sets it among the ornaments of meaning, and the handbooks take their Quranic examples from one verse of Al 'Imran: تُولِجُ ٱلَّيْلَ فِى ٱلنَّهَارِ وَتُولِجُ ٱلنَّهَارَ فِى ٱلَّيْلِ, "You merge the night into the day and merge the day into the night", and وَتُخْرِجُ ٱلْحَىَّ مِنَ ٱلْمَيِّتِ وَتُخْرِجُ ٱلْمَيِّتَ مِنَ ٱلْحَىِّ, "and You bring forth the living from the dead and the dead from the living" (3:27).
Popular articles on the Quran's palindromes deal almost only with letters (see letter palindromes). This page does the same work for words. A computer found every word palindrome and every reversal in the Quran, and two questions were put to them, each with its rules fixed before any count was made: do the Quran's word palindromes outnumber those of its own words in random order, and does the Quran put repeated words in reversed order more than chance would?
The finder below the article lists every word palindrome, close reversal and doubled word, and checks any Arabic you type.
The reversal verses
Read word by word, the two sentences of 3:27 are exact palindromes of seven words each. The verb stands in the middle, and the words on either side mirror each other:
| Verse | Words | Meaning |
|---|---|---|
| 3:27, 22:61, 31:29, 35:13, 57:6 | ٱلَّيْلَ فِى ٱلنَّهَارِ وَيُولِجُ ٱلنَّهَارَ فِى ٱلَّيْلِ | the night into the day, and He merges the day into the night |
| 39:5 | ٱلَّيْلَ عَلَى ٱلنَّهَارِ وَيُكَوِّرُ ٱلنَّهَارَ عَلَى ٱلَّيْلِ | the night around the day, and He wraps the day around the night |
| 3:27, 10:31, 30:19 | ٱلْحَىَّ مِنَ ٱلْمَيِّتِ وَيُخْرِجُ ٱلْمَيِّتَ مِنَ ٱلْحَىِّ | the living from the dead, and He brings forth the dead from the living |
| 6:95 | ٱلْحَىَّ مِنَ ٱلْمَيِّتِ وَمُخْرِجُ ٱلْمَيِّتِ مِنَ ٱلْحَىِّ | the living from the dead, and He is the bringer of the dead from the living |
In 3:27 the verbs speak to Allah, وَتُولِجُ and وَتُخْرِجُ, "and You merge", "and You bring forth"; the mirror is the same.
That is ten reversals in nine verses, in three wordings: the night merged into the day, the night wrapped around the day, and the living brought from the dead. Verse 3:27 holds two. Each is a pair of words, night and day or living and dead, that trade places around a verb, and each reads the same word for word from either end.
The handbooks' third Quranic example is a reversal in which two pronouns change places across two clauses. It is not a word palindrome, because the words change their form on the way back, and it lies in a passage on marriage, which the site's analyses leave out.
Every word palindrome in the Quran
Taking words as they are written in the Mushaf, the Quran's 77,429 words hold 425 word palindromes of three words or more, counting those nested inside longer ones. Almost all, 401, are three words: a word repeated on either side of another. Most are small frames that Arabic uses all the time, ٱللَّهَ ... إِنَّ ٱللَّهَ, "Allah... indeed, Allah" (33 times), and مِنَ ٱللَّهِ مِنْ or مَن يَشَآءُ مِنْ.
Longer ones are few. Around each centre there are thirteen palindromes of five words or more. Ten are the reversal verses above. The other three each turn on a single word repeated, not on two words trading places:
- ثُمَّ كَفَرُوا۟ ثُمَّ ءَامَنُوا۟ ثُمَّ كَفَرُوا۟ ثُمَّ, "then disbelieved, then believed, then disbelieved, then", and inside the same verse ءَامَنُوا۟ ثُمَّ كَفَرُوا۟ ثُمَّ ءَامَنُوا۟ (4:137), the wavering of those who "believed, then disbelieved, then believed, then disbelieved, then increased in disbelief";
- مِّنَ ٱللَّهِ فَأَتَىٰهُمُ ٱللَّهُ مِنْ (59:2): they thought their fortresses would protect them "from Allah, but Allah came upon them from where they never expected".
The Quran also has 12 doubled words, the same written word twice in a row. Some are one word repeated for force: دَكًّا دَكًّا and صَفًّا صَفًّا (89:21, 89:22), هَيْهَاتَ هَيْهَاتَ (23:36) and سَلَـٰمًا سَلَـٰمًا (56:26). Some meet across a clause, as in إِنْ أَحْسَنتُمْ أَحْسَنتُمْ لِأَنفُسِكُمْ, "if you do good, you do good for yourselves" (17:7). And three are two different words that the Uthmani script writes with the same letters. In عَمَلَ عَـٰمِلٍ, "the deed of any doer", and وَقَـٰتَلُوا۟ وَقُتِلُوا۟, "fought and were killed" (3:195), the long a of the second word is left unwritten; ءَامَنُوٓا۟ ءَامِنُوا۟, "you who have believed, believe" (4:136), differ only in a vowel.
Test 1: the Quran's word order against its own words shuffled
As for letters, we made 1,000 copies of the Quran with the words of every verse shuffled, each verse keeping exactly its own words, and counted the word palindromes in each.
Of three words or more, the Quran has 425 and the shuffled copies 431.7 on average, between 372 and 503; 648 of the 1,000 had at least as many. That is what chance gives. Short frames like مِنْ ... مِنْ come about whenever a common word falls two places from itself, in any order.
Long ones are another matter. Counting nested ones, the Quran has 24 of five words or more; the shuffled copies had 3.4 on average and never more than 12, so none of the 1,000 came near. A palindrome of seven words turned up in only 44 of the 1,000 copies, and the Quran has eleven.
The count is generous to the Quran in one way, and the reason should be stated. The 24 come from the thirteen longest around each centre, with the shorter ones inside them counted again, and ten of the thirteen are the same three reversal wordings returning in different verses. But even one seven-word palindrome is rare in random order, so the result does not depend on how the repeats are counted. The long palindromes are no accident of word order: they are the reversal figure, made with care.
Test 2: does the Quran favour reversed order?
A word palindrome is the strictest form of reversal. Al-'aks in the wider sense needs only two words that come back in the opposite order, X ... Y ... Y ... X, with anything between them. If the Quran favoured the figure, its verses should put repeated words in that order more often than chance would.
The test took every two different words, as stems without the article or a prefixed wa- and leaving out particles and pronouns, that each occur exactly twice in the same verse. There are 690 such pairs. Each pair comes in one of three orders: mirrored (X Y Y X), parallel (X Y X Y) or apart (X X Y Y). In random order each comes up exactly one time in three, about 230 here, and that is what the 1,000 shuffled copies gave.
The Quran's order runs against reversal. It has 159 mirrored pairs, and every one of the 1,000 shuffled copies had more, between 183 and 277. It has 284 parallel pairs, more than any shuffled copy, whose highest was 281, and 247 apart. Of close reversals, whose four words fall within twelve, the Quran has 44 and the shuffled copies 44.1 on average. Among them is تَطْمَئِنُّ قُلُوبُهُم بِذِكْرِ ٱللَّهِ ۗ أَلَا بِذِكْرِ ٱللَّهِ تَطْمَئِنُّ ٱلْقُلُوبُ, "their hearts find comfort in the remembrance of Allah. Surely in the remembrance of Allah do hearts find comfort" (13:28), where "comfort" and "remembrance" turn round; random order makes as many close reversals as the Quran has.
The check, identifying words by dictionary form from the Quranic Arabic Corpus, gives 1,627 pairs and the same shortfall: 425 mirrored pairs, against 542.3 on average and at least 471 in every shuffled copy. By dictionary form the surplus of parallel order is smaller (564 against 543.1; 176 of the 1,000 copies had as many), and the surplus moves to pairs set apart (638 against 541.6; 1 copy in 1,000 had as many).
What the Quran favours is repeating a phrase in the same order: فَكَأَنَّمَا قَتَلَ ٱلنَّاسَ جَمِيعًا وَمَنْ أَحْيَاهَا فَكَأَنَّمَآ أَحْيَا ٱلنَّاسَ جَمِيعًا, "it is as if he killed all of humanity, and whoever saves a life, it is as if he saved all of humanity" (5:32), or أَفَأَمِنُوا۟ مَكْرَ ٱللَّهِ ۚ فَلَا يَأْمَنُ مَكْرَ ٱللَّهِ إِلَّا ٱلْقَوْمُ ٱلْخَـٰسِرُونَ, "did they feel secure from Allah's planning? None feels secure from Allah's planning except the losers" (7:99). The reversals are counted in this test too. "He merges the night into the day and merges the day into the night" makes one mirrored pair, night and day, and two parallel ones, the verb with each noun.
What this shows
The rhetoricians' examples are exact. "He merges the night into the day and merges the day into the night" and "He brings forth the living from the dead and the dead from the living" read the same word for word from either end. Random word order almost never makes a palindrome that long. These sentences were made, and the Quran comes back to them ten times, in nine verses.
But reversal is not a hidden pattern running through the text. Across all the Quran's repeated words, mirrored order is rarer than chance. Where the Quran repeats words, it most often keeps them in the same order, and that is the habit the counts pick up. The figure is used rarely and where its meaning calls for it: in the alternation of night and day, and in life coming from death and death from life. The word order turns round as the things it describes do.
That fits the classical view. The rhetoricians counted al-'aks among the ornaments of meaning, a fit of form to sense, not a numerical sign. The Quran's own challenge is to "produce a surah like it" (Quran 2:23), not to find patterns in its word order; the wider question is taken up in Do numerical and ring-composition miracles prove the Quran divine?
How it was counted
- Words are compared as they are written in the Uthmani text of the Madinah Mushaf, letter by letter as in the letter counter: alif in all its forms is alif, and vowel marks, small high letters and pause marks are not letters. Two words are the same when their letters are; prefixes and attached pronouns count.
- A word palindrome lies within one verse. Every one of three words or more is counted, nested ones included; the finder shows the longest around each centre.
- For reversals, a word's stem drops a leading wa- or fa- and the article. Particles, pronouns, demonstratives, relatives, prepositions with attached pronouns, the verbs kana, laysa and qala, and name words such as ibn, "son of", are left out, by a fixed list.
- The tests and the dictionary-form check were fixed before any count was made. The shuffles use a fixed seed, so the same copies come back on every run.
- Figures cover the whole Quran. Twenty-six passages whose subject is marriage, divorce, women, mothers, pregnancy or children are counted but not shown, here or in the finder.
Sources
- Quran text: the Madinah Mushaf (King Fahd Complex), reading of Hafs, in the Uthmani spelling published by quran.com; translations after The Clear Quran, Dr. Mustafa Khattab
- Word forms: the Quranic Arabic Corpus morphology (corpus.quran.com, as corrected in github.com/mustafa0x/quran-morphology)
- Al-Qazwini, al-Idah fi 'Ulum al-Balagha; al-Taftazani, al-Mutawwal; 'Abd al-Ghani al-Nabulusi, Nafahat al-Azhar; gathered in "Structural reversal (al-'aks wa-l-tabdil)", al-balagha.com
- Al-Tahanawi, Kashshaf Istilahat al-Funun wa-l-'Ulum, and al-Suyuti, Mu'jam Maqalid al-'Ulum, under al-'aks, at arabiclexicon.hawramani.com
- Every figure on this page:
scripts/quran/word-palindromes.mjs, with the tests' rules fixed before they were run