Niyyah is intention: the aim of the heart that turns a motion into worship or leaves it as a habit. In Islam, deeds are not judged only by how they look. They are judged by what they were for. The Prophet (peace and blessings be upon him) said, “Actions are only by intentions, and each person will have what he intended.” This hadith opens Sahih al-Bukhari. Scholars called it one third of knowledge, because it sits at the start of every salah, fast, donation, and marriage. This article explains niyyah, how it differs from a spoken formula, how to rescue mixed intentions, and how to use intention to make ordinary work count for the akhirah. It is for learning, not a fatwa.
The hadith of intention and why it comes first
Umar ibn al-Khattab (may Allah be pleased with him) narrated the hadith of intention from the Messenger of Allah (peace be upon him). A man who migrated for Allah and His Messenger has his hijrah for that. A man who migrated for a woman or for dunya has his hijrah for what he migrated for. The outer journey can look identical. The record with Allah is not identical.
This is a mercy and a warning. Mercy: a small deed with a sincere aim can outweigh a large deed done for applause. Warning: a large deed with a rotten aim can be dust. Allah does not look first at your bodies and appearances, but at your hearts and deeds, as in Sahih Muslim.
Niyyah is in the heart
For salah, the intention is to pray a specific prayer for Allah. You do not need a loud speech before takbir according to the majority. If your heart knows you are standing for Dhuhr, that is niyyah. Some people were taught to whisper long formulas. If it helps a beginner focus, it may be a reminder. If it becomes waswasah — repeating until you miss the rak‘ah — it is a disease. Cut it. Start the prayer.
For wudu, fasting, and zakat, the schools discuss when intention must exist. The shared point is: know what you are doing and for whom. Do not perform worship as a sport.
Ikhlas: making the deed for Allah alone
Ikhlas is to strip the deed of partners: people, status, self-admiration. Allah says that they were not commanded except to worship Allah, sincere to Him in religion (see Quran 98:5). Dua, slaughter, and salah are for Him. If you pray because a parent is watching, the prayer may still be valid in fiqh while the reward is damaged. Repair the heart. Do not stop praying.
A practical test: if nobody would know, would you still do it? If the answer is never, your worship is tied to audience. Grow hidden deeds: night prayer even two rak‘ahs, secret charity, secret istighfar.
Mixed intentions: what to do
Human beings mix. You give charity and a part of you hopes thanks. The scholars of the heart said: do not wait for a perfectly pure moment that never comes. Do the deed, then fight the mixed part, then ask Allah to clean it. If you abandon every good until you are an angel, Shaytan has won.
If fame arrives after a sincere deed, that is not automatically riya’. Riya’ is when you aimed at fame. If praise comes and you thank Allah and fear, you are safer than the one who hunted likes.
Turning daily work into worship
Earning a lawful living to feed a family is worship with intention. Sleeping to wake for Fajr is worship. Studying medicine to treat people and not to play god is worship. The same hours without niyyah are only hours. This is how a modern Muslim lives deen and dunya without splitting into two people. See Balancing deen and dunya.
Unlawful work does not become worship by a nice intention. A haram contract is haram. Niyyah does not launder riba.
Niyyah before tawbah and before people
Tawbah needs regret, stopping, and resolve not to return, and rights returned to people if you stole or slandered. Intention without stopping is a wish. Stopping without regret is a pause. Put them together.
When you deal with people, intend justice. The Prophet (peace be upon him) said the Muslim is the one from whose tongue and hand the Muslims are safe, as in the sahih collections. That safety is an intention you renew when you open a chat.
Waswasah about intention
Some readers stand for salah and think, “Did I intend?” ten times. This is not piety. It is excess. The default is that you came to the prayer place at Dhuhr to pray Dhuhr. Takbir and begin. If you are sick with waswasah, treat it like a whisper: do not obey it. Ask a teacher. Do not search endlessly.
Frequently asked questions
Must I say “I intend to pray Fajr” out loud?
The majority do not require a spoken formula. The heart is enough. Follow your teacher if you were taught otherwise, but do not let speech delay the time.
Can I have more than one intention in one deed?
Sometimes yes: fasting a sunnah day that also is a makeup, according to views; or sitting in the mosque to wait for salah and to make dhikr. Learn the cases. Do not stack so many aims that you forget Allah.
Does a good intention fix a bid‘ah?
No. Worship has a form taught by the Prophet (peace be upon him). Sincerity does not make an invented rite into Sunnah.
A habit for this week
Before each of the five prayers, pause one second: “For Allah.” Before you message someone, pause: “No harm.” Before you spend, pause: “Is this pride or need?” Small pauses rebuild a life.
Related: honesty. And Allah knows best.
Note: This article is for learning. It is not a personal fatwa.