Intention, or Niyyah in Arabic, is the foundational prerequisite for every act of worship and the primary criterion by which deeds are judged in Islam. The importance of Intention is established by the famous Hadith of the Prophet Muhammad (PBUH): "Actions are but by intentions, and every man shall have only that which he intended." Theologically, the Niyyah is a matter of the heart; it is the conscious decision to perform an act specifically for the sake of Allah, distinguishing a routine habit from a sacred act of devotion. Without a sincere Intention, even the most physically demanding deed loses its spiritual value and reward.
The role of Intention is dual: it serves a legal function and a spiritual one. Legally, the Niyyah distinguishes between different types of worship. For instance, the physical movements of a four-unit prayer could be for the Dhuhr prayer or the Asr prayer; it is only the Intention that specifies which obligation is being fulfilled. Spiritually, Intention acts as a filter that purifies a deed from "Riya" (showing off or seeking social status). A believer is encouraged to constantly "renew their Intention" before, during, and after an action to ensure it remains purely for Allah.
This constant self-reflection transforms mundane activities, such as eating, sleeping, or working, into "Ibadah" (worship) if the underlying Intention is to gain strength to serve Allah or to provide for one's family. In Islamic ethics, a person may even be rewarded for a good deed they were unable to perform simply because they had a sincere Intention to do so. Conversely, a great deed performed with a corrupt Intention,such as giving charity to be called generous,is rejected. Thus, the science of the heart begins with the mastery of Intention, ensuring that every pulse of the believer's life is directed toward the pleasure of the Creator. Mastery of Niyyah leads to "Ikhlas" (sincerity), the highest state of spiritual authenticity.