Articles
The Solitude He Never Skipped: What I'tikaf Asks of the Heart
Before the first revelation ever reached him, the Messenger of Allah had already made a habit of disappearing to a cave outside Makkah. What that solitude became, after Prophethood, is a rite called iʿtikāf — and the record shows he kept it every single year, then doubled it the year he died.
- Author
- The Quran Gallery team
- Published
- Reading time
- 8 min read
Before Jibrīl ever descended with a verse, the man who would become the Prophet (peace and blessings be upon him) had already worked out what to do with being alone. He would leave Makkah behind — its noise, its bargaining, its crowd — and climb toward a cave in the mountain called Ḥirā’. ʿĀ’ishah (may Allah be pleased with her) described the shape that habit took, in the very first hadith of Ṣaḥīḥ al-Bukhārī:
ثُمَّ حُبِّبَ إِلَيْهِ الْخَلَاءُ، وَكَانَ يَخْلُو بِغَارِ حِرَاءٍ فَيَتَحَنَّثُ فِيهِ – وَهُوَ التَّعَبُّدُ – اللَّيَالِيَ ذَوَاتِ الْعَدَدِ Then solitude was made dear to him, and he would seclude himself in the cave of Ḥirā’, devoting himself there to worship for a number of nights at a time.
— Ṣaḥīḥ al-Bukhārī, printed page 1/4 of , from the opening chapter on how revelation began.
That sentence describes a man who had not yet been given a religion to follow, choosing solitude anyway. Islam did not invent his need for it; Islam legislated a place to keep practising it. That legislated form is called iʿtikāf — enclosing oneself inside a masjid, cut off from ordinary traffic, for the sake of Allah alone — and how firmly he held onto it, once he could, is the subject of this piece.
The only verse that regulates iʿtikāf does not introduce it as a new subject. It arrives inside a paragraph about something else entirely — what is and is not permitted between spouses at night during Ramaḍān — and simply assumes the reader already knows what an iʿtikāf is:
أُحِلَّ لَكُمْ لَيْلَةَ ٱلصِّيَامِ ٱلرَّفَثُ إِلَىٰ نِسَآئِكُمْ ۚ هُنَّ لِبَاسٌ لَّكُمْ وَأَنتُمْ لِبَاسٌ لَّهُنَّ ۗ عَلِمَ ٱللَّهُ أَنَّكُمْ كُنتُمْ تَخْتَانُونَ أَنفُسَكُمْ فَتَابَ عَلَيْكُمْ وَعَفَا عَنكُمْ ۖ فَٱلْـَٔـٰنَ بَـٰشِرُوهُنَّ وَٱبْتَغُوا۟ مَا كَتَبَ ٱللَّهُ لَكُمْ ۚ وَكُلُوا۟ وَٱشْرَبُوا۟ حَتَّىٰ يَتَبَيَّنَ لَكُمُ ٱلْخَيْطُ ٱلْأَبْيَضُ مِنَ ٱلْخَيْطِ ٱلْأَسْوَدِ مِنَ ٱلْفَجْرِ ۖ ثُمَّ أَتِمُّوا۟ ٱلصِّيَامَ إِلَى ٱلَّيْلِ ۚ وَلَا تُبَـٰشِرُوهُنَّ وَأَنتُمْ عَـٰكِفُونَ فِى ٱلْمَسَـٰجِدِ ۗ تِلْكَ حُدُودُ ٱللَّهِ فَلَا تَقْرَبُوهَا ۗ كَذَٰلِكَ يُبَيِّنُ ٱللَّهُ ءَايَـٰتِهِۦ لِلنَّاسِ لَعَلَّهُمْ يَتَّقُونَ It has been made permissible for you, on the nights of the fast, to go to your wives. They are a garment for you, and you are a garment for them. Allah knew that you used to betray yourselves in this, so He turned to you in mercy and forgave you. Now go to them, and seek what Allah has ordained for you. Eat and drink until the white thread of dawn becomes distinct from the black thread, then complete the fast until nightfall — and do not go to your wives while you are keeping iʿtikāf in the masājid. These are the limits set by Allah, so do not go near them. Thus does Allah make His signs clear to people, so that they may become mindful of Him.
Two things follow from this. First, iʿtikāf already existed as an understood practice before this verse fixed one rule about it — “you are keeping iʿtikāf in the masājid” needed no further explanation for the people it was revealed to. Second, the one line devoted to it is a boundary, not an introduction: don’t do this one thing while you’re inside it. Everything else known about what iʿtikāf actually consists of, and what it is for, comes not from further verses but from how the Prophet lived it.
Two reports — one from his household, one from a Companion who kept close watch on his practice — describe the same habit from two angles.
The Prophet’s wife ʿĀ’ishah reported:
… كَانَ يَعْتَكِفُ الْعَشْرَ الْأَوَاخِرَ مِنْ رَمَضَانَ حَتَّى تَوَفَّاهُ اللَّهُ، ثُمَّ اعْتَكَفَ أَزْوَاجُهُ مِنْ بَعْدِهِ …he used to observe iʿtikāf in the last ten days of Ramaḍān until Allah took him, then his wives observed iʿtikāf after him.
— Ṣaḥīḥ al-Bukhārī, printed page 2/713 of , narrated from ʿĀ’ishah.
Abū Hurayrah added the detail that makes the habit remarkable rather than merely regular:
… يَعْتَكِفُ فِي كُلِّ رَمَضَانٍ عَشْرَةَ أَيَّامٍ، فَلَمَّا كَانَ الْعَامُ الَّذِي قُبِضَ فِيهِ اعْتَكَفَ عِشْرِينَ يَوْمًا …he used to observe iʿtikāf for ten days every Ramaḍān; in the year he died, he observed it for twenty.
— Ṣaḥīḥ al-Bukhārī, printed page 2/719 of , narrated from Abū Hurayrah.
Read together: a habit repeated every single year without exception, and in the last year of his life — for reasons the reports themselves do not explain — doubled rather than reduced. A man in his final months, by any account, has fewer things left worth doing twice. Al-Zuhrī, a scholar of the generation after the Companions, looked at how quickly the practice had already thinned out among Muslims and could not make sense of it:
عَجَبًا لِلنَّاسِ كَيْفَ تَرَكُوا الِاعْتِكَافَ I am astonished at people — how they have abandoned iʿtikāf.
— al-Baḥr al-Rā’iq, Ibn Nujaym’s commentary, printed page 2/322 of . Al-Zuhrī’s full remark, as Ibn Nujaym records it, gives the reason for his astonishment directly: the Prophet used to take up a practice and later set it down, again and again — except this one. Of everything he did, iʿtikāf was the one thing he never once dropped, from the time he settled in Madinah until he died.
Notice the shape of that argument. It is not “the Prophet did this, so we must.” It is “the Prophet dropped other things and kept this one” — a single practice singled out for consistency among many he treated with more flexibility. That is a stronger claim than habit. It is a claim about priority.
Iʿtikāf’s outward description — staying inside a masjid, minimising talk, reducing sleep — tells you what the body does. It does not tell you what the practice is for. For that, the clearest lens the Sunnah offers is a definition given for a completely different word: iḥsān, the highest register of worship, which the Prophet explained when a stranger asked him about it directly.
أَنْ تَعْبُدَ اللَّهَ كَأَنَّكَ تَرَاهُ، فَإِنْ لَمْ تَكُنْ تَرَاهُ فَإِنَّهُ يَرَاكَ That you worship Allah as though you see Him; and if you do not see Him, then know that He sees you.
— Ṣaḥīḥ Muslim, printed page 1/36 of , from the hadith of Jibrīl.
Everything the masjid strips away during iʿtikāf — the market, the phone, the small talk, the errands — is stripped away so that sentence has room to be true for ten straight days without interruption. Ordinary life fills the hours with people who can see you and things that need doing; iʿtikāf empties the hours out until the only presence left to account for is the one that was watching the whole time regardless. That is not a mood a person drifts into by accident. It is what the emptying is built to produce.
The word iʿtikāf gets translated as “seclusion” or “retreat,” and both are accurate as far as they go, but they describe the container, not the content. A person can be genuinely alone and still be entirely absorbed in worry, memory, or nothing at all. Being alone with Allah — in a state where His remembrance, and nothing else, fills the space solitude opens up — is the actual target, and it is also, tellingly, one of the seven descriptions the Prophet gave of people who will be sheltered by Allah on a day with no other shelter available:
وَرَجُلٌ ذَكَرَ اللَّهَ خَالِيًا فَفَاضَتْ عَيْنَاهُ …and a man who remembered Allah while alone, and his eyes overflowed.
— Ṣaḥīḥ al-Bukhārī, printed page 1/234 of .
Notice what triggers the tears in that description: not a sermon, not a crowd, not a moment of shared emotion — a man by himself, with nothing left to perform for anyone. Iʿtikāf manufactures exactly that condition on purpose, for ten nights running, which is one reason the sources treat it as demanding rather than restful. Solitude with an audience costs nothing. Solitude that produces this costs something real.
The full iʿtikāf of the last ten nights needs a masjid willing to host it and ten days a person can actually clear. Most readers, most years, will not have both. What the Sunnah offers everyone else — including someone who cannot leave home at all — is a smaller version of the same instruction: come to the masjid at all, for prayer and for remembrance, and keep coming back. That habit, apart from any formal iʿtikāf, is described in its own right:
مَا تَوَطَّنَ رَجُلٌ مُسْلِمٌ الْمَسَاجِدَ لِلصَّلَاةِ وَالذِّكْرِ، إِلَّا تَبَشْبَشَ اللَّهُ إِلَيْهِ كَمَا يَتَبَشْبَشُ أَهْلُ الْغَائِبِ بِغَائِبِهِمْ إِذَا قَدِمَ عَلَيْهِمْ No Muslim makes the masājid his regular haunt, for prayer and remembrance, except that Allah welcomes him warmly — the way a household welcomes home someone they have missed, when he finally arrives.
— Sunan Ibn Mājah, printed page 1/512 of , narrated from Abū Hurayrah.
That image — a household running to the door for someone who has been gone — describes what is available to anyone who cannot manage ten unbroken days: fewer hours, spent the same way, still counted. A person unable to stay overnight can still sit in the masjid between Maghrib and ʿIshā’, or arrive early for Fajr and remain until sunrise, or claim a single weekend inside Ramaḍān’s last third rather than none of it. The full iʿtikāf and this ordinary habit are the same instinct at two different scales — and only one of the two requires ten free days before you can start practising it today.
Our adhkar app collects the remembrances iʿtikāf is built around — morning, evening, and after every prayer — for the nights this Ramaḍān when the masjid is close but ten full days are not.
If we have gotten a translation, a grading, or a page wrong here, tell us and we will correct it in the open — that is why every citation on this page opens the printed page it came from.
May Allah ﷻ accept the iʿtikāf of everyone who manages the full ten nights, and the single evening in the masjid of everyone who can only manage that — and grant all of us a share of the solitude ʿĀ’ishah described: alone, with no one left to account to but Him.