Published by Yala Media Group | April 2026
Once you start looking for odd numbers in Islamic practice, you cannot stop seeing them.
Five daily prayers. Three dates to break the fast. Seven circumambulations of the Kaaba. Seven laps of Sa’i between Safa and Marwa. Seven pebbles thrown at the Jamarat.
Witr prayer — literally called “the Odd.”
Three repetitions of ablution steps. One, three, or five odd rak’at of night prayer. Ninety-nine names of Allah. And the total number of obligatory daily rak’at — 2 (Fajr) + 4 (Dhuhr) + 4 (Asr) + 3 (Maghrib) + 4 (Isha) = 17. Seventeen: an odd number, prime, indivisible.
The pattern is unmistakable, and it’s not coincidence. Islam’s preference for odd numbers is explicit, deliberate, and grounded in one of the most beautiful theological reasons in the entire tradition.
The hadith that explains everything
The foundation of Islamic thought on odd numbers is a single hadith that unlocks the entire pattern:
“Verily, Allah is Witr (One/Odd) and He loves Witr (the odd number).” — Sahih al-Bukhari (6410) and Sahih Muslim (2677).
Abu Huraira (RA) narrated this from the Prophet ﷺ. The word witr is the key. In Arabic, witr means two things simultaneously: it means “one” (as in Allah’s oneness, His being singular and without partner) and it means “odd” (as in an odd number, as opposed to even). These two meanings are not a coincidence in Arabic — they are the same word precisely because the same reality is being expressed.
Allah is Ahad — One, Singular, Indivisible. That oneness is expressed mathematically in the concept of an odd number: something that refuses to divide equally into two halves. When you try to split an odd number into two equal parts, you cannot do it without breaking it into fractions. It resists division. It refuses to be paired. Like Allah Himself — who has no equal, no partner, no counterpart — the odd number is fundamentally singular.
The theology of even and odd: creation and Creator
To fully understand why odd numbers matter in Islam, you need to understand the Islamic distinction between creation and Creator — and how mathematics expresses this distinction.
Even numbers represent creation. The Quran says: “And of everything We have created pairs, that you may reflect.” — Surah Adh-Dhariyat 51:49.
Everything in creation exists in pairs: day and night, male and female, positive and negative, life and death, left and right, heaven and earth, body and soul. An even number can be perfectly divided into two equal halves — it represents duality, dependency, the paired nature of created things.
Creation cannot exist without its counterpart, without its Creator. Evenness is the mathematical signature of the created world.
Odd numbers represent the Creator. Allah has no pair. He has no equal. He has no partner. He is Al-Ahad — The One — and this oneness is uniquely His.
An odd number cannot be divided into two equal, independent halves. It resists pairing. It asserts its singularity. This refusal to be divided is the mathematical analog of divine oneness. Witr is odd because witr is One, because the ultimate reality behind all of existence is singular and indivisible.
The Quran takes a magnificent oath around this duality: “And by the Even and the Odd.” — Surah Al-Fajr 89:3.
The scholars of tafsir understand this oath as invoking the fundamental distinction between creation (even, paired, dependent) and Creator (odd, singular, self-sufficient). This single verse consecrates the mathematical distinction within the Quran itself.
How odd numbers appear throughout Islamic worship
Understanding the theology makes every appearance of odd numbers in Islamic practice suddenly make sense — they are not arbitrary rules but embedded theological statements:
The five daily prayers: Five is odd. Every day, a Muslim makes five stops on the path between them and Allah. The number five is not a coincidence — it is the odd punctuation of the day, five times asserting the singular lordship of Allah.
Witr prayer: Perhaps the most explicit expression of this principle. The voluntary prayer at the end of the night is literally called Witr — “the Odd” — because it adds an odd number of rak’at to the night’s prayer. The scholars explain that nawafil prayers are generally prayed in twos (even, like the paired creation), but the sealing prayer of the night must be odd — a mathematical declaration that while we live in a world of pairs, our ultimate orientation is to the One who has no pair. The worshipper seals their night with an assertion of divine singularity.
Tawaf — seven circumambulations: A pilgrim revolves around the Kaaba seven times. Seven is odd. The scholars explain this with remarkable elegance: as the pilgrim physically traces a circle — one of the most complete symbols of creation, with its perfectly balanced form — the number seven ensures they don’t end in a number of duality. They end their rotation on an odd number to declare that at the center of the universe, there is only One God. The seven breaks the symmetry of endless circular motion and asserts the singularity of the One at the center.
Seven Sa’i: Between Safa and Marwa, pilgrims walk seven times. Seven again — the odd seal on an act of remembrance.
Seven pebbles at Jamarat: Each throwing of pebbles at the Jamarat is seven — sealing the rejection of Shaytan with a declaration of tawheed.
Three repetitions of ablution: Wudu involves washing each limb three times. Three is the first odd number above one that denotes genuine plurality — in Arabic, the first plural is three. The body is prepared for prayer through triple purification, an odd-numbered process that sets the stage for standing before the One.
Ninety-nine names of Allah: The famous hadith connects even the number of divine names to the witr principle: “There are ninety-nine names of Allah; he who commits them to memory would get into Paradise. Verily, Allah is Odd and He loves odd number.” — Sahih Muslim. The very hadith that introduces the ninety-nine names links them explicitly to the witr principle.
The total obligatory rak’at in a day equals 17: This remarkable mathematical fact — first highlighted explicitly by Hazrat Khalifatul Masih V in a 2025 address — reveals a hidden pattern in the Islamic prayer structure. 2 + 4 + 4 + 3 + 4 = 17. Seventeen is an odd number, a prime number, indivisible. The entire daily prayer structure adds up to an odd number, sealing the day’s worship with mathematical tawheed.
Does this mean you should always choose odd numbers in daily life?
The scholars address this question specifically, because the hadith is sometimes over-applied.
Al-Nawawi explained: “The meaning of Allah loving what is witr is the preference of what is witr in many deeds and acts of worship. Allah made prayer five times, repeating ablution actions three times, and circumambulation seven…” — he lists specific acts of worship designated as odd.
Shaykh Salih Al-Fawzan was asked whether a Muslim should eat an odd number of spoons, tomatoes, eggs, and so on in all everyday activities. He answered: “Yes, one should intend worship by doing so. If one eats, he should eat one date, three dates, seven, an odd number; because Allah loves the odd number.” He acknowledged the hadith’s general application but emphasized it should be done with the intention of worship — not as a superstitious rule.
Other scholars take a more conservative position: the preference for odd numbers applies specifically to the acts of worship that have been explicitly designated as odd in the Quran and Sunnah. Beyond those, applying odd numbers mechanically to everyday activities without specific evidence borders on innovation.
The scholarly balance: the witr preference is most strongly and directly expressed in worship — the five prayers, the witr, the tawaf, the ablution. Applying it voluntarily to other activities with the intention of alignment with what Allah loves and as a reminder of tawheed is good; mandating it as a universal rule in all daily activities goes beyond what the evidence specifies.
The mathematical beauty of Islamic worship
What emerges from this examination is something genuinely beautiful: Islamic worship is not a random collection of rules and practices. Embedded within the structure of salah, of Hajj, of ablution, of the prayer’s architecture across the day, is a mathematical theology — a pattern that expresses in numbers what Islamic belief expresses in words.
Odd numbers everywhere are not arbitrary. They are the mathematics of tawheed. They are the numerical signature of Allah’s oneness inscribed into the rhythms of daily Muslim life. Every time a Muslim prays five times, circumambulates seven times, throws seven pebbles, performs three-repetition ablution, and seals the night with the Witr — they are making a mathematical declaration alongside their verbal one.
La ilaha illallah — There is no god but Allah. In numbers: He is Witr.
Yala Media Group builds technology for the Muslim community where giving is structural, transparent, and effortless. Learn more at yalamediagroup.com.