Guide
Istikhara: the prayer, the dua, and why it needs no dream
The short answer
Istikhara is 2 rak'ahs and a dua taught for decisions. The hadith never asks for a dream or a sign, and a dream after it is judged like any other: it makes nothing lawful or unlawful and does not replace consulting people.
Traditional interpretations, not a fatwa and not a prediction. How we source.
In this article
A misreading has grown up around istikhara so deep that many people now think the prayer is a way of receiving a dream. They pray, they wait to sleep, they look for a colour. The hadith that teaches the prayer says nothing about any of it.
What the Prophet ﷺ taught
Jabir ibn Abdullah reports that the Prophet ﷺ used to teach the Companions istikhara in all matters, as he taught them a surah of the Qur'an (Bukhari 1166, Bukhari 6382, Bukhari 7390; also Ibn Majah 1383 and Nasa'i 3253). The comparison with a surah is part of the text: this was taught carefully, word for word, as something to be learned.
The instruction is short. When one of you intends to do something, he prays 2 rak'ahs other than the obligatory prayers, and then says the dua. The narrator adds that he names his need. The Arabic of the dua is below, cut from the narration.
اللَّهُمَّ إِنِّي أَسْتَخِيرُكَ بِعِلْمِكَ وَأَسْتَقْدِرُكَ بِقُدْرَتِكَ، وَأَسْأَلُكَ مِنْ فَضْلِكَ الْعَظِيمِ، فَإِنَّكَ تَقْدِرُ وَلاَ أَقْدِرُ وَتَعْلَمُ وَلاَ أَعْلَمُ وَأَنْتَ عَلاَّمُ الْغُيُوبِ، اللَّهُمَّ إِنْ كُنْتَ تَعْلَمُ أَنَّ هَذَا الأَمْرَ خَيْرٌ لِي فِي دِينِي وَمَعَاشِي وَعَاقِبَةِ أَمْرِي ـ أَوْ قَالَ عَاجِلِ أَمْرِي وَآجِلِهِ ـ فَاقْدُرْهُ لِي وَيَسِّرْهُ لِي ثُمَّ بَارِكْ لِي فِيهِ، وَإِنْ كُنْتَ تَعْلَمُ أَنَّ هَذَا الأَمْرَ شَرٌّ لِي فِي دِينِي وَمَعَاشِي وَعَاقِبَةِ أَمْرِي ـ أَوْ قَالَ فِي عَاجِلِ أَمْرِي وَآجِلِهِ ـ فَاصْرِفْهُ عَنِّي وَاصْرِفْنِي عَنْهُ، وَاقْدُرْ لِي الْخَيْرَ حَيْثُ كَانَ ثُمَّ أَرْضِنِي بِهِ
The words fall into 3 movements, set out in the table.
| Part of the dua | What it says | What it does |
|---|---|---|
| Asking by knowledge and power | "I seek guidance by Your knowledge and ask You for ability by Your power": You are able and I am not, You know and I do not, You know the unseen | Puts the person in their place before asking |
| If the matter is good | If You know this matter is good for my religion, my livelihood and the end of my affair, decree it for me, ease it for me and bless it | Asks for the good thing to be made easy |
| If the matter is bad | If You know it is bad for me in those, turn it from me and turn me from it, decree the good for me wherever it is, and make me content with it | Asks to be turned away, and for contentment either way |
Two details are worth noticing. The dua is conditional, so it does not claim to know which way the matter should go, and it ends with a request for contentment, not for certainty. The person who prays this has not been promised an answer in a form they can see. They have asked to be steered and to be at peace with the steering.
The phrase "in all matters" (Bukhari 6382) is wide, and scholars commonly set one limit on it: istikhara is for choices that are open to you. It is not asked about an obligation, which has to be done, or about a prohibition, which has to be avoided. Whether to take a job, to move to another city or to marry a particular person is the kind of question it is for. Whether to pray tomorrow is not a question at all.
What the text does not say
Here the popular practice and the narrations part company. Nothing in the narrations cited above says that a dream will follow, that one should sleep after the prayer, that a white or green image means yes and a dark one means no, or that the prayer must be repeated a number of times. We cannot show that any of these is wrong from the texts, and we cannot show that any is right either. They are additions, and their source is custom, not the hadith.
Istikhara and consultation
The Qur'an pairs seeking Allah with asking people. It tells the Prophet ﷺ to consult them in the matter, and then, once he has decided, to rely upon Allah (Qur'an 3:159). It describes the believers as those whose affair is a matter of consultation among themselves (Qur'an 42:38). The istikhara prayer and consultation are not rivals. One is addressed to Allah, the other to people who know the matter, and a careful decision uses both.
So the order we would suggest is the one the texts imply. Gather the facts. Ask someone who knows, and someone who cares about you. Pray the 2 rak'ahs and say the dua. Then go forward with the option that now seems sound, and treat what follows as your answer, both in events and in how settled you feel.
When a dream does come
It does happen that someone has a dream after istikhara. Treat it as you would any dream. Ask whether it is the kind that comes from Allah, from Shaytan, or from your own mind (see the three kinds of dreams), and follow the manners that go with each. Do not take it as a command. The principle is the one scholars apply to every dream, including the Prophet's: a dream does not make something lawful or unlawful, and it does not replace the Qur'an, the Sunnah or the advice of people who know. The adhan is the model case (see the dream behind the adhan). The dream was true, and it became law because the Prophet ﷺ confirmed it while awake.
If someone says that they saw the Prophet ﷺ telling them which choice to make, that dream does not decide the matter either, however sincere the dreamer (see seeing the Prophet in a dream). Hold the dream as a mercy to you, and decide as you would have decided without it.
Common questions
Do I have to see a dream after istikhara?
No. The narrations of the istikhara prayer describe 2 rak'ahs and a dua, and they mention no dream, colour or sign (Bukhari 1166, Bukhari 7390). A dream may come as any dream may, and it is then weighed as one of the three kinds. The decision is made by consultation, good judgement and relying on Allah.
How do I know the answer to istikhara?
The dua asks that if the matter is good it be made decreed and easy, and if it is bad it be turned away, and that you be made content with what is good (Bukhari 1166). Scholars commonly explain the answer as how the matter then unfolds and how your heart settles, not as a vision. The text gives no other signal.
Can istikhara be done by someone else on my behalf?
The hadith is addressed to the person who intends a matter: 'if any of you intends something' (Bukhari 1166). The prayer is the asker's own, and the sources we cite do not describe it being done for another. Asking others for advice and for their prayers is a different thing, and the Qur'an commends consultation (Qur'an 42:38).
Reviewed 5 October 2026 by The Editorial Team. We cite our sources and fix mistakes openly: see our editorial standards, or report a correction.