جَامِعُ التِّرْمِذِيِّ

Jami at-Tirmidhi، الحديث 3

الباب: The Book on Purification — On the Key to the Prayer Being Purification

Ali ibn Abi Talib (Companion) → Muhammad ibn al-Hanafiyyah (his son) → 'Abdullah ibn Muhammad ibn 'Aqil → Sufyan (ath-Thawri) → [two parallel routes: Waki' ibn al-Jarrah, and 'Abd ar-Rahman ibn Mahdi] → Qutaybah / Hannad / Mahmud ibn Ghaylan and Muhammad ibn Bashshar → Imam at-Tirmidhi

حَدَّثَنَا قُتَيْبَةُ، وَهَنَّادٌ، وَمَحْمُودُ بْنُ غَيْلاَنَ، قَالُوا حَدَّثَنَا وَكِيعٌ، عَنْ سُفْيَانَ، ح وَحَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ، حَدَّثَنَا سُفْيَانُ، عَنْ عَبْدِ اللَّهِ بْنِ مُحَمَّدِ بْنِ عَقِيلٍ، عَنْ مُحَمَّدِ ابْنِ الْحَنَفِيَّةِ، عَنْ عَلِيٍّ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ: "مِفْتَاحُ الصَّلاَةِ الطُّهُورُ، وَتَحْرِيمُهَا التَّكْبِيرُ، وَتَحْلِيلُهَا التَّسْلِيمُ".

Ali ibn Abi Talib reported that the Prophet, peace be upon him, said: 'The key to the prayer is purification, its entry into a sacred state is the opening declaration of Allah's greatness (Takbir), and its exit is the closing greeting of peace (Taslim).'

رواه Ali ibn Abi Talib Jami at-Tirmidhi, Hadith 3 Hasan

Explanation

In a single, memorable sentence, this hadith summarizes the entire structure of the Islamic prayer (salah) through the metaphor of a locked door. Purification (tahara) is described as the miftah, the key, without which the prayer cannot even begin, since ritual cleanliness through wudu or, when necessary, ghusl or tayammum, is an absolute precondition for valid prayer. The opening Takbir, 'Allahu Akbar,' is described as tahrimuha, that which formally 'forbids' or seals the worshipper into the sanctified state of prayer, during which ordinary speech, movement, and eating become impermissible. The closing Taslim, the greeting of peace turned to both sides, is described as tahlilluha, that which releases the worshipper back into ordinary activity.

This hadith functions as a compact legal and spiritual map of salah, showing that Islamic prayer is not a loosely bounded set of movements but a precisely bounded ritual state, entered and exited through specific verbal declarations, with purification serving as the essential gate that must be passed through first. This is why Islamic jurisprudence treats invalidated wudu as something that immediately invalidates the prayer that follows, regardless of the sincerity present in the worshipper's heart at that moment.

When and why it was said

This teaching would have been especially valuable in the early Muslim community as converts from diverse backgrounds, some carrying prior ritual practices very different from Islamic prayer, needed a clear, memorable framework for understanding exactly what made prayer valid or invalid. A short, structured formula like this one served an almost catechetical function, giving new Muslims and their teachers an easily transmitted summary covering the entire architecture of salah in a single breath, which likely contributed to its careful preservation and wide circulation across the early generations.

What the scholars said

Imam at-Tirmidhi himself, commenting within his own collection, states that this is the most authentic and best-formulated report available on this specific topic, while also noting that one of its narrators, 'Abdullah ibn Muhammad ibn 'Aqil, was considered generally truthful (saduq) though some hadith critics raised concerns about the precision of his memory, which is why later scholars typically grade this hadith as hasan (good) rather than at the highest level of sahih; at-Tirmidhi further records that Ahmad ibn Hanbal, Ishaq ibn Ibrahim, and al-Humaydi all relied upon narrations from Ibn 'Aqil despite these reservations, indicating the report was still considered usable evidence by leading scholars of his era.

Later jurists across the legal schools built substantial fiqh directly on this hadith's three-part structure. The requirement that wudu precede prayer, the ruling that the Takbir must be said with specific wording and formally begins the prayer, and the ruling that the Taslim is what concludes it are all points of established jurisprudence that scholars trace partly to this concise formulation, even though the individual rulings are also independently supported by other narrations throughout the wider hadith corpus, including similar reports Tirmidhi notes exist from Jabir and Abu Sa'id.

Putting it into practice

This hadith gives Muslims a simple mental checklist to apply before and during every prayer: confirm the state of ritual purity first, understand that saying the Takbir is the moment of formally 'entering' prayer and that all worldly speech and distraction must stop, and recognize that the Taslim is the deliberate, conscious moment of 'exiting' back into ordinary life. Reciting this hadith to oneself occasionally, especially when teaching children the basics of salah, reinforces why rushing through wudu or mumbling the Takbir undermines the entire structure of the prayer that follows.

A second, more reflective application is to use the 'locked door' metaphor as a tool for improving khushu' (focused humility) in prayer. Just as a person naturally becomes more attentive when passing through a doorway into a formal, important space, treating the Takbir consciously as a genuine threshold, rather than an automatic opening phrase said on autopilot, can help re-anchor the worshipper's attention at the very start of every prayer, five times daily, as a small but repeated act of mindfulness.

The Prophet's character ﷺ

This hadith reveals the Prophet's ﷺ gift for pedagogical clarity, distilling an entire ritual system into a memorable, structured image that any listener, regardless of education, could grasp and retain. His teaching method consistently favored concise, vivid formulations over lengthy abstract explanation, reflecting a deep concern for making the religion accessible to people of every background and capacity.

Companion spotlight

Ali ibn Abi Talib was raised in the household of the Prophet ﷺ from a young age after his father, Abu Talib, faced financial hardship, and he was among the earliest converts to Islam. He later became the Prophet's ﷺ son-in-law through marriage to Fatimah and eventually the fourth Rightly Guided Caliph, and his exceptionally close, lifelong proximity to the Prophet ﷺ made him a primary source for detailed reports on both the spiritual and legal dimensions of Islamic ritual practice, including precise matters of prayer such as this one.

Through a companion's eyes

My son asked me once to explain the prayer simply enough that even a child could hold the whole shape of it in his mind, and I found myself returning to words I had heard the Messenger of Allah, peace be upon him, say so long ago. I told him: think of it as a door. You cannot walk through a locked door, and the water of wudu is the key that opens it.

Once you are through, the Takbir seals the door behind you; nothing of this world may follow you in. And when you are ready to return, it is the Taslim, the peace you offer to your right and your left, that opens the door again and lets you step back out. He was quiet for a long moment, and I could see him understanding, for the first time, that prayer has a shape. (Creative narrative based on authentic hadith)

Differences of opinion

Jurists have differed on secondary questions connected to this hadith's framework, such as the exact wording required for a valid Takbir, whether only 'Allahu Akbar' suffices or whether close synonyms are also acceptable, and whether the Taslim must be said aloud in every prayer or may sometimes be silent, particularly for someone praying alone versus leading others. The Hanafi school, for example, holds a distinct position on some of these wording questions compared to the Shafi'i and Maliki schools, though all agree on the hadith's core structural principle that these three elements together define the boundaries of valid prayer.

What would you do?

A friend tells you they sometimes rush through wudu because they feel late for prayer and figure that 'the intention in my heart matters more than the water anyway.' Using the framework this hadith provides, how would you explain to your friend, gently and without lecturing, why purification functions as a genuine precondition rather than a flexible formality, while still being encouraging rather than discouraging about their effort to pray on time?

Hasan: good and acceptable as evidence.

إصدار جديد من تطبيق سكينة متاح. اضغط للتحديث.

ابحث في سكينة

جرّب: Patience Mercy Ramadan Prophet Yusuf Forgiveness

المظهر

الوضع

الألوان

الخط

اللغة

استكشف

Read & reflect

استكشف

Community