Skip to main content
Islamic Portal
Join freeJoin free
Islamic Portal
Explore everything
Theme

Area 1 of 11 · Foundations of worship

Foundations of Worship

Why we worship, what makes an act worship, and how rulings are graded

Every act of worship rests on a few foundations: knowing why we worship, a sincere intention, and an understanding of which acts are obligatory and which are recommended. This guide follows the Hanafi school for its main explanations, and notes where the other schools differ.

Hanafi position, the main path Other schools, folded underneath

Why we worship

Worship is the purpose of life, and it reaches every part of it

Allah tells us that He created jinn and humankind to worship Him (51:56). Worship (ibadah) is not limited to prayer and fasting. Scholars explain that any permissible act done with a sincere intention to please Allah, such as working, studying, cooking for a family or caring for a parent, can become worship.

Men and women are equal in this. The Quran addresses believing men and believing women side by side, and promises reward to every believer, male or female, who does good (33:35, 16:97). A woman's worship is never second best.

From the Quran and Sunnah

وَمَا خَلَقْتُ ٱلْجِنَّ وَٱلْإِنسَ إِلَّا لِيَعْبُدُونِ

I created the jinn and humankind only that they might worship Me.

Adh-Dhariyat 51:56 · Marmaduke Pickthall (en.pickthall)
إِنَّ ٱلْمُسْلِمِينَ وَٱلْمُسْلِمَٰتِ وَٱلْمُؤْمِنِينَ وَٱلْمُؤْمِنَٰتِ وَٱلْقَٰنِتِينَ وَٱلْقَٰنِتَٰتِ وَٱلصَّٰدِقِينَ وَٱلصَّٰدِقَٰتِ وَٱلصَّٰبِرِينَ وَٱلصَّٰبِرَٰتِ وَٱلْخَٰشِعِينَ وَٱلْخَٰشِعَٰتِ وَٱلْمُتَصَدِّقِينَ وَٱلْمُتَصَدِّقَٰتِ وَٱلصَّٰٓئِمِينَ وَٱلصَّٰٓئِمَٰتِ وَٱلْحَٰفِظِينَ فُرُوجَهُمْ وَٱلْحَٰفِظَٰتِ وَٱلذَّٰكِرِينَ ٱللَّهَ كَثِيرًۭا وَٱلذَّٰكِرَٰتِ أَعَدَّ ٱللَّهُ لَهُم مَّغْفِرَةًۭ وَأَجْرًا عَظِيمًۭا

Lo! men who surrender unto Allah, and women who surrender, and men who believe and women who believe, and men who obey and women who obey, and men who speak the truth and women who speak the truth, and men who persevere (in righteousness) and women who persevere, and men who are humble and women who are humble, and men who give alms and women who give alms, and men who fast and women who fast, and men who guard their modesty and women who guard (their modesty), and men who remember Allah much and women who remember - Allah hath prepared for them forgiveness and a vast reward.

Al-Ahzab 33:35 · Marmaduke Pickthall (en.pickthall)
مَنْ عَمِلَ صَٰلِحًۭا مِّن ذَكَرٍ أَوْ أُنثَىٰ وَهُوَ مُؤْمِنٌۭ فَلَنُحْيِيَنَّهُۥ حَيَوٰةًۭ طَيِّبَةًۭ ۖ وَلَنَجْزِيَنَّهُمْ أَجْرَهُم بِأَحْسَنِ مَا كَانُوا۟ يَعْمَلُونَ

Whosoever doeth right, whether male or female, and is a believer, him verily we shall quicken with good life, and We shall pay them a recompense in proportion to the best of what they used to do.

An-Nahl 16:97 · Marmaduke Pickthall (en.pickthall)

Islam, iman and ihsan

The three levels of the religion

In a famous hadith, the angel Jibril came to the Prophet ﷺ in human form and asked him about the religion. The answers describe three levels:

  • Islam: the outward acts of submission, built on the five pillars: the testimony of faith, prayer, zakah, fasting in Ramadan and Hajj for those able.
  • Iman: faith in Allah, His angels, His books, His messengers, the Last Day and the divine decree.
  • Ihsan: excellence, which is to worship with a constant awareness that Allah sees you.

Learning the rulings of purification and prayer serves the first level; it is meant to lead to the other two.

From the Quran and Sunnah

Hadith
Also on the authority of `Umar (ra) who said: While we were one day sitting with the Messenger of Allah (ﷺ) there appeared before us a man dressed in extremely white clothes and with very black hair. No traces of journeying were visible on him, and none of us knew him. He sat down close by the Prophet (ﷺ) rested his knees against the knees of the Prophet (ﷺ) and placed his palms over his thighs, and said: "O Muhammad! Inform me about Islam." The Messenger of Allah (ﷺ) replied: "Islam is that you should testify that there is no deity worthy of worship except Allah and that Muhammad is His Messenger (ﷺ), that you should perform salah (ritual prayer), pay the zakah, fast during Ramadan, and perform Hajj (pilgrimage) to the House (the Ka`bah at Makkah), if you can find a way to it (or find the means for making the journey to it)." He said: "You have spoken the truth." We were astonished at his thus questioning him (ﷺ) and then telling him that he was right, but he went on to say, "Inform me about Iman (faith)." He (the Prophet) answered, "It is that you believe in Allah and His angels and His Books and His Messengers and in the Last Day, and in fate (qadar), both in its good and in its evil aspects." He said, "You have spoken the truth." Then he (the man) said, "Inform me about Ihsan." He (the Prophet) answered, "It is that you should serve Allah as though you could see Him, for though you cannot see Him yet He sees you." He said, "Inform me about the Hour." He (the Prophet) said, "About that the one questioned knows no more than the questioner." So he said, "Well, inform me about its signs." He said, "They are that the slave-girl will give birth to her mistress and that you will see the barefooted ones, the naked, the destitute, the herdsmen of the sheep (competing with each other) in raising lofty buildings." Thereupon the man went off. I waited a while, and then he (the Prophet) said, "O `Umar, do you know who that questioner was?" I replied, "Allah and His Messenger know better." He said, "That was Jibril. He came to teach you your religion."
Show the Arabic

عَنْ عُمَرَ رَضِيَ اللهُ عَنْهُ أَيْضًا قَالَ: بَيْنَمَا نَحْنُ جُلُوسٌ عِنْدَ رَسُولِ اللَّهِ صلى الله عليه و سلم ذَاتَ يَوْمٍ، إذْ طَلَعَ عَلَيْنَا رَجُلٌ شَدِيدُ بَيَاضِ الثِّيَابِ، شَدِيدُ سَوَادِ الشَّعْرِ، لَا يُرَى عَلَيْهِ أَثَرُ السَّفَرِ، وَلَا يَعْرِفُهُ مِنَّا أَحَدٌ. حَتَّى جَلَسَ إلَى النَّبِيِّ صلى الله عليه و سلم . فَأَسْنَدَ رُكْبَتَيْهِ إلَى رُكْبَتَيْهِ، وَوَضَعَ كَفَّيْهِ عَلَى فَخِذَيْهِ، وَقَالَ: يَا مُحَمَّدُ أَخْبِرْنِي عَنْ الْإِسْلَامِ. فَقَالَ رَسُولُ اللَّهِ صلى الله عليه و سلم الْإِسْلَامُ أَنْ تَشْهَدَ أَنْ لَا إلَهَ إلَّا اللَّهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللَّهِ، وَتُقِيمَ الصَّلَاةَ، وَتُؤْتِيَ الزَّكَاةَ، وَتَصُومَ رَمَضَانَ، وَتَحُجَّ الْبَيْتَ إنْ اسْتَطَعْت إلَيْهِ سَبِيلًا. قَالَ: صَدَقْت . فَعَجِبْنَا لَهُ يَسْأَلُهُ وَيُصَدِّقُهُ! قَالَ: فَأَخْبِرْنِي عَنْ الْإِيمَانِ. قَالَ: أَنْ تُؤْمِنَ بِاَللَّهِ وَمَلَائِكَتِهِ وَكُتُبِهِ وَرُسُلِهِ وَالْيَوْمِ الْآخِرِ، وَتُؤْمِنَ بِالْقَدَرِ خَيْرِهِ وَشَرِّهِ. قَالَ: صَدَقْت. قَالَ: فَأَخْبِرْنِي عَنْ الْإِحْسَانِ. قَالَ: أَنْ تَعْبُدَ اللَّهَ كَأَنَّك تَرَاهُ، فَإِنْ لَمْ تَكُنْ تَرَاهُ فَإِنَّهُ يَرَاك. قَالَ: فَأَخْبِرْنِي عَنْ السَّاعَةِ. قَالَ: مَا الْمَسْئُولُ عَنْهَا بِأَعْلَمَ مِنْ السَّائِلِ. قَالَ: فَأَخْبِرْنِي عَنْ أَمَارَاتِهَا؟ قَالَ: أَنْ تَلِدَ الْأَمَةُ رَبَّتَهَا، وَأَنْ تَرَى الْحُفَاةَ الْعُرَاةَ الْعَالَةَ رِعَاءَ الشَّاءِ يَتَطَاوَلُونَ فِي الْبُنْيَانِ. ثُمَّ انْطَلَقَ، فَلَبِثْتُ مَلِيًّا، ثُمَّ قَالَ: يَا عُمَرُ أَتَدْرِي مَنْ السَّائِلُ؟. ‫‬قُلْتُ: اللَّهُ وَرَسُولُهُ أَعْلَمُ. قَالَ: فَإِنَّهُ جِبْرِيلُ أَتَاكُمْ يُعَلِّمُكُمْ دِينَكُمْ . [رَوَاهُ مُسْلِمٌ]

Forty Hadith an-Nawawi 2 · Muslim Grade: Sahih
Hadith
On the authority of Abdullah, the son of Umar ibn al-Khattab (ra), who said: I heard the Messenger of Allah (ﷺ) say, "Islam has been built on five [pillars]: testifying that there is no deity worthy of worship except Allah and that Muhammad is the Messenger of Allah, establishing the salah (prayer), paying the zakat (obligatory charity), making the hajj (pilgrimage) to the House, and fasting in Ramadhan."
Show the Arabic

عَنْ أَبِي عَبْدِ الرَّحْمَنِ عَبْدِ اللَّهِ بْنِ عُمَرَ بْنِ الْخَطَّابِ رَضِيَ اللَّهُ عَنْهُمَا قَالَ: سَمِعْت رَسُولَ اللَّهِ صلى الله عليه و سلم يَقُولُ: بُنِيَ الْإِسْلَامُ عَلَى خَمْسٍ: شَهَادَةِ أَنْ لَا إلَهَ إلَّا اللَّهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللَّهِ، وَإِقَامِ الصَّلَاةِ، وَإِيتَاءِ الزَّكَاةِ، وَحَجِّ الْبَيْتِ، وَصَوْمِ رَمَضَانَ . [رَوَاهُ الْبُخَارِيُّ] ، [وَمُسْلِمٌ]

Forty Hadith an-Nawawi 3 · Bukhari & Muslim Grade: Sahih

Intention (niyyah)

Deeds are weighed by what is in the heart

Ruling Hanafi first Schools differ

The Prophet ﷺ taught that deeds are judged by their intentions. An intention is a decision of the heart: knowing what you are doing and doing it for Allah. Saying it in words is not required.

In the Hanafi school

Intention is a condition for prayer, fasting, zakah and Hajj. For wudu and ghusl it is a sunnah: wudu without an intention still makes you pure enough to pray, but the reward comes with the intention.

Where the schools differ
  • Maliki: intention is a condition for wudu and ghusl.
  • Shafi'i: intention is a condition for wudu and ghusl.
  • Hanbali: intention is a condition for wudu and ghusl.

From the Quran and Sunnah

Hadith
It is narrated on the authority of Amirul Mu'minin, Abu Hafs 'Umar bin al-Khattab (ra) who said: I heard the Messenger of Allah (ﷺ) say: "Actions are (judged) by motives (niyyah), so each man will have what he intended. Thus, he whose migration (hijrah) was to Allah and His Messenger, his migration is to Allah and His Messenger; but he whose migration was for some worldly thing he might gain, or for a wife he might marry, his migration is to that for which he migrated."
Show the Arabic

عَنْ أَمِيرِ الْمُؤْمِنِينَ أَبِي حَفْصٍ عُمَرَ بْنِ الْخَطَّابِ رَضِيَ اللهُ عَنْهُ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ: " إنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ، وَإِنَّمَا لِكُلِّ امْرِئٍ مَا نَوَى، فَمَنْ كَانَتْ هِجْرَتُهُ إلَى اللَّهِ وَرَسُولِهِ فَهِجْرَتُهُ إلَى اللَّهِ وَرَسُولِهِ، وَمَنْ كَانَتْ هِجْرَتُهُ لِدُنْيَا يُصِيبُهَا أَوْ امْرَأَةٍ يَنْكِحُهَا فَهِجْرَتُهُ إلَى مَا هَاجَرَ إلَيْهِ". رَوَاهُ إِمَامَا الْمُحَدِّثِينَ أَبُو عَبْدِ اللهِ مُحَمَّدُ بنُ إِسْمَاعِيل بن إِبْرَاهِيم بن الْمُغِيرَة بن بَرْدِزبَه الْبُخَارِيُّ الْجُعْفِيُّ [رقم:1]، وَأَبُو الْحُسَيْنِ مُسْلِمٌ بنُ الْحَجَّاج بن مُسْلِم الْقُشَيْرِيُّ النَّيْسَابُورِيُّ [رقم:1907] رَضِيَ اللهُ عَنْهُمَا فِي "صَحِيحَيْهِمَا" اللذَينِ هُمَا أَصَحُّ الْكُتُبِ الْمُصَنَّفَةِ

Forty Hadith an-Nawawi 1 · Bukhari & Muslim Grade: Sahih

How rulings are graded

Fard, wajib, sunnah and the rest, as the Hanafi school uses them

Hanafi first Schools differ

Fiqh books grade every act so that a believer knows what is required and what is extra.

In the Hanafi school

The Hanafi school uses these terms:

  • Fard (obligatory): established by definitive proof, such as the five daily prayers. Leaving it is a major sin.
  • Wajib (necessary): established by strong proof that is less than definitive, such as the witr prayer. Leaving it is sinful. In prayer, a wajib missed by mistake is repaired with the prostration of forgetfulness.
  • Sunnah mu'akkadah (emphasised sunnah): what the Prophet ﷺ did regularly, such as the two units before Fajr. Leaving it as a habit is blameworthy.
  • Mustahabb (recommended): rewarded when done, with no blame for leaving it.
  • Mubah (permissible): neither rewarded nor blamed in itself.
  • Makruh tanzihi (disliked): better avoided, but not sinful.
  • Makruh tahrimi (prohibitively disliked): close to forbidden; avoiding it is necessary.
  • Haram (forbidden): established by definitive proof; avoiding it is obligatory.
Where the schools differ
  • Maliki: fard and wajib are generally the same thing, so there is no separate middle category.
  • Shafi'i: fard and wajib mean the same, except in a few areas such as Hajj.
  • Hanbali: fard and wajib mean the same in most areas.

Following a school of fiqh

Why this guide follows the Hanafi school, and respects the others

The four Sunni schools, Hanafi, Maliki, Shafi'i and Hanbali, are each a careful method of deriving rulings from the Quran and Sunnah, refined by generations of scholars. The Hanafi school takes its name from Imam Abu Hanifah, who taught in Kufa and died around 767 CE (150 AH). It is followed by many Muslims across South Asia, Turkey, Central Asia, the Balkans and beyond.

This guide gives the Hanafi position as the main path, and notes the other schools under Where the schools differ. Their differences come from evidence and scholarship, and every school is respected. A sound habit is to follow one school consistently in an act of worship, rather than picking the easiest view on each detail, and to ask a qualified scholar when a question is personal.

When worship becomes obligatory

Puberty and responsibility

Ruling Hanafi first Schools differ

A Muslim becomes responsible for the obligations of worship at puberty (bulugh), provided she is of sound mind. Before that, children are taught gently so that worship feels familiar and loved when it becomes due.

In the Hanafi school

A girl reaches puberty with the first menstruation, or with other signs of maturity. If no sign has appeared, she is treated as an adult at fifteen lunar years, the position adopted for fatwa in the school. Nine is the earliest age at which a girl's puberty is recognised.

Where the schools differ
  • Shafi'i: also fifteen lunar years when no sign appears.
  • Hanbali: also fifteen lunar years when no sign appears.
  • Maliki: the well-known position is a later age, commonly given as eighteen.

Ease is part of the religion

Allah wants ease for you, not hardship

Allah wants ease for His servants and does not burden a soul beyond its capacity (2:185, 2:286). The Prophet ﷺ told his companions to make things easy and not difficult.

Fiqh is full of this ease: dry ablution (tayammum) when water cannot be used, praying seated when standing is too hard, and the pause in prayer and fasting during menstruation and postpartum bleeding. Using these concessions is following the religion, not falling short of it.

From the Quran and Sunnah

شَهْرُ رَمَضَانَ ٱلَّذِىٓ أُنزِلَ فِيهِ ٱلْقُرْءَانُ هُدًۭى لِّلنَّاسِ وَبَيِّنَٰتٍۢ مِّنَ ٱلْهُدَىٰ وَٱلْفُرْقَانِ ۚ فَمَن شَهِدَ مِنكُمُ ٱلشَّهْرَ فَلْيَصُمْهُ ۖ وَمَن كَانَ مَرِيضًا أَوْ عَلَىٰ سَفَرٍۢ فَعِدَّةٌۭ مِّنْ أَيَّامٍ أُخَرَ ۗ يُرِيدُ ٱللَّهُ بِكُمُ ٱلْيُسْرَ وَلَا يُرِيدُ بِكُمُ ٱلْعُسْرَ وَلِتُكْمِلُوا۟ ٱلْعِدَّةَ وَلِتُكَبِّرُوا۟ ٱللَّهَ عَلَىٰ مَا هَدَىٰكُمْ وَلَعَلَّكُمْ تَشْكُرُونَ

The month of Ramadan in which was revealed the Qur'an, a guidance for mankind, and clear proofs of the guidance, and the Criterion (of right and wrong). And whosoever of you is present, let him fast the month, and whosoever of you is sick or on a journey, (let him fast the same) number of other days. Allah desireth for you ease; He desireth not hardship for you; and (He desireth) that ye should complete the period, and that ye should magnify Allah for having guided you, and that peradventure ye may be thankful.

Al-Baqarah 2:185 · Marmaduke Pickthall (en.pickthall)
لَا يُكَلِّفُ ٱللَّهُ نَفْسًا إِلَّا وُسْعَهَا ۚ لَهَا مَا كَسَبَتْ وَعَلَيْهَا مَا ٱكْتَسَبَتْ ۗ رَبَّنَا لَا تُؤَاخِذْنَآ إِن نَّسِينَآ أَوْ أَخْطَأْنَا ۚ رَبَّنَا وَلَا تَحْمِلْ عَلَيْنَآ إِصْرًۭا كَمَا حَمَلْتَهُۥ عَلَى ٱلَّذِينَ مِن قَبْلِنَا ۚ رَبَّنَا وَلَا تُحَمِّلْنَا مَا لَا طَاقَةَ لَنَا بِهِۦ ۖ وَٱعْفُ عَنَّا وَٱغْفِرْ لَنَا وَٱرْحَمْنَآ ۚ أَنتَ مَوْلَىٰنَا فَٱنصُرْنَا عَلَى ٱلْقَوْمِ ٱلْكَٰفِرِينَ

Allah tasketh not a soul beyond its scope. For it (is only) that which it hath earned, and against it (only) that which it hath deserved. Our Lord! Condemn us not if we forget, or miss the mark! Our Lord! Lay not on us such a burden as thou didst lay on those before us! Our Lord! Impose not on us that which we have not the strength to bear! Pardon us, absolve us and have mercy on us, Thou, our Protector, and give us victory over the disbelieving folk.

Al-Baqarah 2:286 · Marmaduke Pickthall (en.pickthall)
Hadith
Anas (May Allah be pleased with him) reported: The Prophet (ﷺ) said, "Make things easy and do not make them difficult, cheer the people up by conveying glad tidings to them and do not repulse (them)."
Show the Arabic

وعن أنس رضي الله عنه عن النبى صلى الله عليه وسلم قال: “يسروا ولا تعسروا وبشروا ولا تنفروا ((متفق عليه)).

Riyad us-Saliheen 636 · Agreed upon (al-Bukhari and Muslim) (متفق عليه) Grade: Sahih

Questions women ask

Is a woman's worship rewarded the same as a man's?

Yes. The Quran promises that Allah does not let the deed of any worker be lost, male or female (3:195). Where the rulings differ for women, the reward does not.

From the Quran and Sunnah

فَٱسْتَجَابَ لَهُمْ رَبُّهُمْ أَنِّى لَآ أُضِيعُ عَمَلَ عَٰمِلٍۢ مِّنكُم مِّن ذَكَرٍ أَوْ أُنثَىٰ ۖ بَعْضُكُم مِّنۢ بَعْضٍۢ ۖ فَٱلَّذِينَ هَاجَرُوا۟ وَأُخْرِجُوا۟ مِن دِيَٰرِهِمْ وَأُوذُوا۟ فِى سَبِيلِى وَقَٰتَلُوا۟ وَقُتِلُوا۟ لَأُكَفِّرَنَّ عَنْهُمْ سَيِّـَٔاتِهِمْ وَلَأُدْخِلَنَّهُمْ جَنَّٰتٍۢ تَجْرِى مِن تَحْتِهَا ٱلْأَنْهَٰرُ ثَوَابًۭا مِّنْ عِندِ ٱللَّهِ ۗ وَٱللَّهُ عِندَهُۥ حُسْنُ ٱلثَّوَابِ

And their Lord hath heard them (and He saith): Lo! I suffer not the work of any worker, male or female, to be lost. Ye proceed one from another. So those who fled and were driven forth from their homes and suffered damage for My cause, and fought and were slain, verily I shall remit their evil deeds from them and verily I shall bring them into Gardens underneath which rivers flow - A reward from Allah. And with Allah is the fairest of rewards.

Ali 'Imran 3:195 · Marmaduke Pickthall (en.pickthall)
Do I have to say my intention out loud?

No. The intention is in the heart. Some Hanafi scholars considered it good to say it quietly to help the heart focus, but it is never required, and you do not need special words.

I do not follow the Hanafi school. Can I use this guide?

Yes. Every ruling gives the Hanafi position first, and the views of the Maliki, Shafi'i and Hanbali schools are under Where the schools differ. For anything personal, ask a scholar of your own school.

Tools and guides for this area

Ask a question privately

Ask anything, anonymously. You do not need to give your name or any personal details, and the answer may help others too.

For pain, unusual or very heavy bleeding, or pregnancy concerns, please see a doctor. We explain religious rulings, not medical care.

Ask anonymously