QuranHub · Online Quran Academy
How to Pray Istikhara: The Sunnah, the Seven Times, and the Sign
By Nazeer AhmadFounder, QuranHub Online Quran AcademyM.A. Arabic & IslamiyatDars-e-Nizami (Tanzeem-ul-Madaris)10+ years teaching Quran and Islamic studies
Marriage or a job, a move or a business — the decision that will shape your life, and you do not know which way is good. Istikhara is the prayer for that moment: two rak'ahs and a dua, asking Allah to choose for you. This guide gives the Sunnah as the hadith teaches it, and the Barelvi teaching that has grown around it — and it keeps the two apart, so you can see which is which.
The answers here come from the Sunni Hanafi Barelvi authorities: Dar-ul-Ifta Ahle Sunnat (Dawat-e-Islami) and Jamia Islamia Minhaj-ul-Quran. Where the Barelvi sources differ from the majority view, or where they are silent, this guide says so. This is guidance, not a fatwa: for your own situation, consult a qualified scholar you trust.
- Free 3-day trial · no credit card
- Live 1-on-1 online classes
- Qualified male & female tutors
- In every timezone
What istikhara is — and what it is not
Istikhara is seeking goodness from Allah before a lawful decision — asking Him to decree what is good and turn away what is bad. It is only for matters left to a Muslim's choice: never for an obligatory or necessary act, never for a forbidden act, and never for everyday routine acts like eating and drinking. It is only when the matter is lawful and your opinion has not yet fully settled on one side — 'istikhara's time is until opinion has not yet fully settled on one side' (Bahar-e-Shariat 1/683).
And istikhara is not fortune-telling. It is not opening a faal, and it is not a way to see the future. A'la Hazrat's fatwa rules the opening of a faal haram — and the Prophet taught istikhara in place of faal. The Quran forbids seeking division by arrows and lots (Quran 5:3), and istikhara is the lawful alternative: you do not ask for a sign in the sky, you ask Allah to choose, and then you look at your own heart.
- Istikhara is only for a lawful matter where your opinion has not yet settled (Bahar-e-Shariat 1:683)
- Never for an obligatory act, never for a forbidden act, never for routine acts
- Istikhara is not fortune-telling (faal) — the Prophet taught it IN PLACE OF faal (Fatawa Razawiyya 23:100)
- Quran 5:3 forbids seeking division by arrows and lots
The hadith: two rak'ahs and the dua
Jabir ibn Abdullah said: the Prophet taught us istikhara in all matters, as he taught us a surah of the Quran. (Sahih al-Bukhari 1162 and 6382 — the number 1166 that circulates online is wrong, and this page uses the corrected numbers.) Two nafl rak'ahs. In the first rak'ah after al-Fatiha, Surah al-Kafirun; in the second, Surah al-Ikhlas — mustahabb, not obligatory, so the prayer is valid with any surahs. After the salam, recite the Prophetic dua, naming the matter at 'hadha al-amr' — 'this matter' — or holding it in your mind if you do not know the Arabic. Begin and end the dua with hamd and durood.
The dua, as printed in the Barelvi sources: 'O Allah, I seek goodness from You by Your knowledge, and I seek power from You by Your power, and I ask You of Your great bounty. For You have power and I have none, and You know and I do not know, and You are the Knower of the unseen. O Allah, if You know that this matter is good for me in my religion, my livelihood and the outcome of my affair, then decree it for me, make it easy for me, and bless me in it. And if You know that this matter is bad for me in my religion, my livelihood and the outcome of my affair, then turn it away from me and turn me away from it, and decree for me the good wherever it is, then make me content with it.'
The dua in Arabic, as printed in both Barelvi sources: 'اَللّٰهُمَّ اِنِّیْ اَسْتَخِيرُکَ بِعِلْمِکَ وَاسْتَقْدِرُکَ بِقُدْرَتِکَ وَاسْاَلُکَ مِنْ فَضْلِکَ الْعَظِيمِ فَاِنِکَ تَقْدِرُ وَلَا اَقْدِرُ وَتَعْلَمُ وَلَا اَعْلَمُ وَاَنْتَ عَلَامُ الْغُيُوْبِ اَللّٰهُمَّ اِنْ کُنْتَ تَعْلَمُ اَنَّ هٰذا الْاَمْرَ خَيرٌ لِّیْ فِیْ دِينِیْ وَمَعَاشِیْ وَعَاقِبَةِ اَمْرِیْ (اَوْ قَالَ عَاجِلِ اَمْرِیْ وَاٰجِلِہٖ) فَقَدِّرْه لِیْ وَيسِرْه لِیْ ثُمَّ بَارِکْ لِیْ فِيه وَاِنْ کُنْتَ تَعْلَمُ اَنَّ هٰذا الْاَمْرَ شَرٌّ لِّیْ فِیْ دِينِیْ وَمَعَاشِیْ وَعَاقِبَةِ اَمْرِیْ فَاصْرِفْه عَنِّیْ وَاَصْرِفْنِیْ عَنْه وَاقْدِرْ لِیَ الْخَيْرَ حَيْثُ کَانَ ثُمَّ رَضِّنِیْ بِهٖ'
Transliteration: 'Allahumma inni astakhiruka bi-'ilmika, wa astaqdiruka bi-qudratika, wa as'aluka min fadlikal-'azim. Fa-innaka taqdiru wa la aqdiru, wa ta'lamu wa la a'lamu, wa anta 'allamul-ghuyub. Allahumma in kunta ta'lamu anna hadha al-amra khayrun li fi dini wa ma'ashi wa 'aqibati amri faqdirhu li wa yassirhu li thumma barik li fih. Wa in kunta ta'lamu anna hadha al-amra sharrun li fi dini wa ma'ashi wa 'aqibati amri fasrifhu 'anni wasrifni 'anhu, waqdir liyal-khayra haythu kana thumma ardini bih.' The bracketed words in the Arabic — 'or he said: my immediate affair and my later affair' — are the Prophet's alternative wording for 'the outcome of my affair'.
At 'this matter' — hadha al-amr — name your need: 'this marriage', 'this journey', 'this trade'. If you know the Arabic, say it in the dua itself; otherwise hold the matter in your heart while you recite.
- Two nafl rak'ahs; Surah al-Kafirun in the first, Surah al-Ikhlas in the second — mustahabb, not obligatory (Minhaj 1212)
- After the salam, recite the Prophetic dua, naming the matter at 'hadha al-amr'
- Begin and end the dua with hamd and durood
- Hadith: Sahih al-Bukhari 1162 and 6382 — NOT 1166
Seven times, and the sign
This is where the two layers part, and the honest thing is to show both. The first layer is the hadith, and it promises no dream. The second layer is the Barelvi teaching recorded in the fatwas. Minhaj-ul-Quran's fatwa 1212 (Mufti Abdul Qayyum Hazarvi, 29 September 2011) says: 'If after one or two istikhara no indication is received, it should be done SEVEN times. After the dua, sleep in wudu facing the qibla; if in the dream you see WHITE or GREEN, understand the work is good; if RED or BLACK, understand it is bad and leave it.'
Dawat-e-Islami's Bad Shuguni (pages 14-15) says the same: 'It is BETTER to do istikhara seven times, for a hadith says: O Anas! When you intend a matter, seek istikhara from your Lord in it seven times, then look at what passes in your heart, for indeed in that is the good.' The heart's inclination — what passes in your heart — is the deciding sign. The hadith itself gives the heart, not a dream; the dream-colour guidance is the later popular teaching recorded in these fatwas, not the hadith text. This page does not claim 'no dream required' as the Barelvi position — because the Barelvi fatwas teach the seven times and the colours — and it does not present the colours as the hadith — because the hadith does not give them.
- If after one or two istikhara no indication is received, do it SEVEN times (Minhaj 1212)
- Sleep in wudu facing the qibla; white or green in a dream means good, red or black means bad — leave it (Minhaj 1212)
- 'Seek istikhara seven times, then look at what passes in your heart' (Bad Shuguni, pp. 14-15)
- The heart's inclination is the deciding sign
- The hadith itself promises no dream — the dream colours are the later Barelvi teaching, not the hadith text
What istikhara does not do
Istikhara does not make a forbidden thing lawful, and it does not replace mashwara, consultation. 'Whoever does istikhara will not suffer loss; whoever consults will not regret.' (Majma al-Zawa'id, Kitab al-Salat, Bab al-Istikhara, 2/566, Hadith 3670) Do both: pray istikhara, and ask people who know the matter. And 'leaving istikhara is among the wretchedness of the son of Adam' (Tirmidhi, Kitab al-Qadr, Hadith 2158).
Two more things the fatwas settle. The fixed surahs — al-Kafirun and al-Ikhlas — are mustahabb, not obligatory: the prayer is valid with any surahs. And istikhara does not apply to a matter you have already decided — its time is 'until opinion has not yet fully settled on one side'. Once you have decided, the time for istikhara has passed; what you need then is tawakkul.
- 'Whoever does istikhara will not suffer loss; whoever consults will not regret' (Majma al-Zawa'id 2:566, Hadith 3670)
- 'Leaving istikhara is among the wretchedness of the son of Adam' (Tirmidhi 2158)
- The fixed surahs are mustahabb, not obligatory
- Istikhara is for an undecided matter — once you have decided, its time has passed
Two worked examples
For a marriage proposal: pray two rak'ahs, and in the dua name the matter — 'hadha al-nikah', 'this marriage' — or hold the proposal in your heart. Do it up to seven times if no indication comes, and look at what passes in your heart. Then consult people who know the family, and decide.
For a job: Dawat-e-Islami's example is trade or employment — which to choose? The same prayer, the same dua, naming the trade or the job. The sign is not a dream about an office; it is the inclination of your heart after the prayer, and the doors that open or close after it.
- Marriage: name the matter — 'hadha al-nikah', this marriage — or hold the proposal in your heart
- Job: trade or employment, which to choose? — the same prayer, the same dua (Bad Shuguni)
- The sign is the heart's inclination and the doors that open or close — do both istikhara and mashwara
Learn the Quran with a teacher
Questions about istikhara are the doorway into the Quran itself — and they are best learned with a teacher, not from a search page. One-to-one lessons with a qualified teacher let you learn at your own pace — recitation, tajwid, and understanding — whether you are starting from the alphabet or returning after years away.
- One-to-one live classes with a qualified teacher, at your own pace
- Qualified tutors with Ijazah, for adults and children, in your timezone
- Free 3-day trial: 3 free classes, no card required
- WhatsApp +1 917 722 5120 to book your first lesson
Frequently asked questions
How many times should I pray istikhara?+
Once or twice first. If no indication is received, do it seven times — that is the Barelvi teaching (Minhaj 1212; Bad Shuguni, pp. 14-15). The hadith does not fix a number; the seven times is the later teaching.
Do I need to see a dream after istikhara?+
The hadith promises no dream; its sign is what passes in your heart. The Barelvi fatwas add the dream-colour teaching: after the dua, sleep in wudu facing the qibla — white or green in a dream means good, red or black means bad, and leave it (Minhaj 1212). This page presents both layers honestly, and does not claim 'no dream required' as the Barelvi position.
Which surahs do I read in istikhara?+
Surah al-Kafirun in the first rak'ah after al-Fatiha, and Surah al-Ikhlas in the second — mustahabb, not obligatory (Minhaj 1212). The prayer is valid with any surahs.
Can I do istikhara about a haram matter?+
No. Istikhara is only for a lawful matter where your opinion has not yet settled. It is never for an obligatory act, never for a forbidden act, and never for a routine act like eating and drinking (Bahar-e-Shariat 1:683).
What is the hadith number for istikhara?+
Sahih al-Bukhari 1162 (Kitab al-Tahajjud) and 6382 (Kitab al-Da'awat). The number 1166 that circulates online is wrong.