I'tikaf: A Guide to the Last Ten Nights

Fasting and Ramadan7 min read

I'tikaf is staying in the mosque with the intention of worshipping Allah and focusing on Him. The Sunnah is to do it in the last ten nights of Ramadan, which the Prophet ﷺ did every year until he passed away. This article explains what i'tikaf is, its conditions, the time to enter and leave, what is allowed and what spoils it, and the rulings for women.

1

What i'tikaf is

I'tikaf means to stay in a place and keep to it. In Islamic law it is to stay in the mosque for worship with the intention of drawing near to Allah. The Quran mentions it in connection with the Sacred House, as Allah commanded Ibrahim and Isma'il, peace be upon them, to purify His House for those who circle it, for those who stay in it for worship and for those who pray (Quran 2:125).

It is a voluntary act of worship, unless a person has made a vow to do it. It gives the believer a chance to leave the daily distractions, to pray and recite the Quran, and to make du'a with a quiet heart.

2

The Sunnah of the last ten nights

Aisha, may Allah be pleased with her, said that the Prophet ﷺ used to stay in i'tikaf in the last ten nights of Ramadan until Allah took his soul, and then his wives did it after him (Sahih al-Bukhari 2026). In the year in which he passed away, he stayed in i'tikaf for twenty days (Sahih al-Bukhari 2044).

The main purpose is to look for Laylat al-Qadr, the night that is better than a thousand months (Quran 97:3). Abu Sa'id al-Khudri, may Allah be pleased with him, reported that the Prophet ﷺ stayed in i'tikaf in the middle ten days of Ramadan, and then he told the Companions to look for the night in the last ten nights, in the odd ones (Sahih al-Bukhari 2016).

3

Conditions and duration

The main conditions are that the person is Muslim, sane and able to discern, free from janabah, and free from menstruation and postnatal bleeding, and that he makes the intention. It takes place in a mosque, as Allah says: "Do not have relations with them while you are in i'tikaf in the mosques" (Quran 2:187).

Scholars differ on a few points:

  • Which mosque: The Hanbali school says it must be a mosque in which the congregational prayers are held. The Hanafi school says the same for a man. The Maliki and Shafi'i schools allow any mosque, and they prefer one in which the Friday prayer is held, so that the person does not need to leave for it.
  • Fasting: The Maliki school requires fasting for i'tikaf, and the Hanafi school requires it for a vowed i'tikaf. The Shafi'i and Hanbali schools do not require it. Anyone doing it in Ramadan is fasting anyway.
  • Minimum time: The Maliki school says a day and a night at least. The Shafi'i and Hanbali schools say that a short period is enough, as long as he stays in the mosque with the intention. Umar, may Allah be pleased with him, was told by the Prophet ﷺ to fulfil his vow to stay one night in the Sacred Mosque (Sahih al-Bukhari 2032), which shows that a short i'tikaf is valid.

The majority of scholars say that the person who wants to complete the last ten nights should enter before sunset on the 20th of Ramadan, so that he has the whole of the last ten nights, and should leave after sunset on the last day of Ramadan. Another view is based on the report that the Prophet ﷺ prayed Fajr and then entered his place of i'tikaf (Sahih al-Bukhari 2041), and it says that he enters after Fajr on the morning of the 21st.

4

What is allowed and what to avoid

The person in i'tikaf should stay in the mosque and leave only for a need, such as using the toilet, performing wudu or ghusl, or fetching food if no one can bring it. Aisha said that the Prophet ﷺ did not enter his house when he was in i'tikaf except for a need (Sahih al-Bukhari 2029). These things are allowed:

  • Eating and sleeping in the mosque, taking care not to dirty it.
  • Washing and combing the hair, wearing clean clothes and using perfume. Aisha used to comb the Prophet's hair while he stayed in the mosque (Sahih al-Bukhari 2029).
  • Speaking with the family and receiving visits for a short time. Safiyyah, may Allah be pleased with her, visited the Prophet ﷺ in his i'tikaf one night and talked with him for a time. He then stood up with her to take her to the door of the mosque (Sahih al-Bukhari 2035).
  • A necessary phone call or a short urgent matter. A person who must work should postpone the i'tikaf until he is free.

Marital relations are forbidden during i'tikaf, and they break it (Quran 2:187). Idle talk, arguing, buying and selling, and too much time on the phone or on social media should also be avoided, as they defeat the purpose. Most scholars say that the person does not go out to visit the sick or attend funerals. If he leaves the mosque without a need, the i'tikaf is affected, and he should ask a scholar about his case.

5

Women in i'tikaf

The wives of the Prophet ﷺ performed i'tikaf after him (Sahih al-Bukhari 2026). In the time of the Prophet ﷺ, Aisha asked his permission to stay in i'tikaf and he allowed it (Sahih al-Bukhari 2041). Hafsah and Zaynab then set up tents in the mosque as well. When the Prophet ﷺ saw them in the morning, he asked: "Is it righteousness that you see in them?" He left the i'tikaf that month, and performed it for ten days in Shawwal (Sahih al-Bukhari 2033). This report shows that sincere intention matters, and scholars understand it as a reminder against competing in the act and not as a prohibition.

Most scholars say that a woman may stay in i'tikaf in a mosque, with the permission of her husband or guardian, as long as she is safe and has a private place. The Hanafi school says that her best place is the prayer place of her house. A woman who has her period leaves the mosque and the i'tikaf stops, and she may complete it after she is pure.

6

Making the most of the time

The aim is to renew the relationship with Allah. A suggested plan is to keep the obligatory prayers on time, to pray the voluntary prayers and the night prayer, to recite and reflect on the Quran, to remember Allah, to ask forgiveness and to make du'a for oneself, family and the Muslims.

Be sincere and avoid showing off. A person who cannot stay for ten nights can still stay for a shorter time, such as a night or a day, and gain from it.

Sources

Common questions

Is fasting a condition for i'tikaf?

The Maliki school requires it, and the Hanafi school requires it for a vowed i'tikaf, while the Shafi'i and Hanbali schools do not. In Ramadan the person is fasting in any case.

How long must the i'tikaf last?

The Sunnah is the last ten nights of Ramadan (Sahih al-Bukhari 2026). Scholars differ on the minimum: the Maliki school says a day and a night, while others accept a shorter time. The Prophet ﷺ told Umar to fulfil a vow of one night (Sahih al-Bukhari 2032).

Can a woman perform i'tikaf?

Yes, according to most scholars, in a mosque, with permission and if she is safe. The wives of the Prophet ﷺ performed it (Sahih al-Bukhari 2026). The Hanafi school says that her best place is the prayer place of her home.

Can a person in i'tikaf leave the mosque for work?

No, not for ordinary work. He may leave for a need, such as the toilet, wudu or food (Sahih al-Bukhari 2029). If he has work that cannot be delayed, he should postpone the i'tikaf.