Get the app · Soon
Menu

Step by step

How to pray Istikhara

When to pray it, the two rak’ahs, what to recite, the du’a and what to do afterwards: every step for all four schools, or for yours, with where it comes from.

10 steps · Valid in all four schools

10 steps · Hanafi

10 steps · Maliki

10 steps · Shafi’i

10 steps · Hanbali

  1. When to pray it

    Pray it when you are about to decide something, even a good thing.

    Sources: · · ·

    Pray two voluntary rak’ahs whenever you intend to do something, in any matter.

    Ibn Abidin, Radd al-Muhtar · vol. 2 · p. 26

    Pray it when you are about to decide something; no sensible person should leave it.

    al-Dardir, al-Sharh al-Kabir · vol. 1 · pp. 20–24

    Pray it to seek guidance from Allah in any matter.

    al-Khatib al-Shirbini, Mughni al-Muhtaj · vol. 1 · p. 458

    Pray the guidance prayer when you are about to decide on a matter, even a good thing like hajj or umrah, and then move ahead promptly with the good thing afterward.

    al-Buhuti, Sharh Muntaha al-Iradat · vol. 1 · pp. 249–250

  2. Praying at forbidden times

    Don’t pray it at the times when voluntary prayer is forbidden.

    Sources: · · ·

    Like any prayer, it is strongly disliked at sunrise, when the sun is at its zenith (except on Fridays) and at sunset.

    al-Haskafi, al-Durr al-Mukhtar, in Radd al-Muhtar · vol. 1 · pp. 370–372al-Haskafi, al-Durr al-Mukhtar, in Radd al-Muhtar · vol. 1 · pp. 372–373

    Don’t pray it at the times when voluntary prayer is forbidden; if you’ve started, stop.

    At the merely disliked times, stopping is recommended.

    al-Dardir, al-Sharh al-Kabir · vol. 1 · pp. 187–188al-Dardir, al-Sharh al-Kabir · vol. 1 · pp. 312–315

    If you pray it at those times, it doesn’t count.

    al-Khatib al-Shirbini, Mughni al-Muhtaj · vol. 1 · p. 311al-Khatib al-Shirbini, Mughni al-Muhtaj · vol. 1 · pp. 309–310

    Don’t pray the istikharah prayer at the times when voluntary prayer is forbidden, even though it has a reason.

    al-Buhuti, Sharh Muntaha al-Iradat · vol. 1 · p. 258

  3. Pray two rak’ahs

    Pray two rak’ahs of voluntary prayer, intending the guidance prayer.

    Sources: · · ·

    Pray two rak’ahs for the guidance prayer (istikharah).

    al-Haskafi, al-Durr al-Mukhtar, in Radd al-Muhtar · vol. 2 · p. 26

    Pray two rak’ahs for istikharah; it’s one of the prayers done for a particular reason.

    al-Dardir, al-Sharh al-Kabir · vol. 1 · pp. 312–315

    Pray two rak’ahs for the guidance prayer (istikharah).

    It is one of the voluntary prayers with its own reason.

    al-Khatib al-Shirbini, Mughni al-Muhtaj · vol. 1 · p. 458

    Pray two rak’ahs that aren’t part of an obligatory prayer, then say the guidance du’a.

    al-Buhuti, Sharh Muntaha al-Iradat · vol. 1 · pp. 249–250

  4. What to recite

    Recite Al-Kafirun in the first rak’ah and Al-Ikhlas in the second.

    Sources: · ·

    Recite Al-Kafirun in the first rak’ah and Al-Ikhlas in the second.

    Ibn Abidin, Radd al-Muhtar · vol. 2 · p. 26

    Pray two rak’ahs, reciting Al-Kafirun after Al-Fatihah in the first and Al-Ikhlas in the second.

    Hashiyat al-Dasuqi, in al-Sharh al-Kabir · vol. 1 · pp. 20–21

    In the istikharah prayer, recite Al-Kafirun in the first rak’ah and Al-Ikhlas in the second.

    al-Khatib al-Shirbini, Mughni al-Muhtaj · vol. 1 · p. 464

    Recite Al-Kafirun in the first rak’ah and Al-Ikhlas in the second.

    The Hanbali books we use don’t cover this step. This is the way that’s valid in all four schools.

  5. Praise and blessings

    Praise Allah and send blessings on the Prophet ﷺ before and after the supplication.

    Sources: · ·

    Open and close the istikharah supplication by praising Allah and sending blessings on the Prophet ﷺ.

    Ibn Abidin, Radd al-Muhtar · vol. 2 · p. 26

    Before the supplication, send blessings on the Prophet ﷺ.

    Hashiyat al-Dasuqi, in al-Sharh al-Kabir · vol. 1 · pp. 20–21

    Praise Allah and send blessings on the Prophet ﷺ before and after the supplication.

    The Shafi’i books we use don’t cover this step. This is the way that’s valid in all four schools.

    Begin and end the supplication by praising Allah, and send blessings on the Prophet ﷺ at its start and end.

    al-Buhuti, Sharh Muntaha al-Iradat · vol. 1 · p. 206

  6. Say the supplication

    After the salam, say the guidance supplication.

    What to say

    اللَّهُمَّ إِنِّي أَسْتَخِيرُكَ بِعِلْمِكَ، وَأَسْتَقْدِرُكَ بِقُدْرَتِكَ، وَأَسْأَلُكَ مِنْ فَضْلِكَ الْعَظِيمِ، فَإِنَّكَ تَقْدِرُ وَلَا أَقْدِرُ، وَتَعْلَمُ وَلَا أَعْلَمُ، وَأَنْتَ عَلَّامُ الْغُيُوبِ، اللَّهُمَّ إِنْ كُنْتَ تَعْلَمُ أَنَّ هَذَا الْأَمْرَ خَيْرٌ لِي فِي دِينِي وَمَعَاشِي وَعَاقِبَةِ أَمْرِي فَاقْدُرْهُ لِي، وَيَسِّرْهُ لِي، ثُمَّ بَارِكْ لِي فِيهِ، وَإِنْ كُنْتَ تَعْلَمُ أَنَّ هَذَا الْأَمْرَ شَرٌّ لِي، فِي دِينِي وَمَعَاشِي وَعَاقِبَةِ أَمْرِي فَاصْرِفْهُ عَنِّي، وَاصْرِفْنِي عَنْهُ، وَاقْدُرْ لِي الْخَيْرَ حَيْثُ كَانَ، ثُمَّ أَرْضِنِي

    Allāhumma innī astakhīruka biʿilmik, wa astaqdiruka biqudratik, wa asʾaluka min faḍlika l-ʿaẓīm, fa innaka taqdiru wa lā aqdir, wa taʿlamu wa lā aʿlam, wa anta ʿallāmu l-ghuyūb, Allāhumma in kunta taʿlamu anna hādha l-amra khayrun lī fī dīnī wa maʿāshī wa ʿāqibati amrī fa-qdurhu lī, wa yassirhu lī, thumma bārik lī fīh, wa in kunta taʿlamu anna hādha l-amra sharrun lī, fī dīnī wa maʿāshī wa ʿāqibati amrī fa-ṣrifhu ʿannī, wa-ṣrifnī ʿanh, wa-qdur li l-khayra ḥaythu kān, thumma arḍinī.

    O Allah, I ask You to choose for me by Your knowledge, I ask You for ability by Your power, and I ask You of Your great bounty, for You are able and I am not, You know and I don’t, 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 affairs, decree it for me, make it easy for me, then 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 affairs, turn it away from me and turn me away from it, decree for me what is good wherever it is, then make me content with it.

    Bukhari 1166 · Sahih

    Sources: · · ·

    After the two rak’ahs, say the istikharah supplication.

    Ibn Abidin, Radd al-Muhtar · vol. 2 · p. 26

    After the salam, ask Allah’s forgiveness about three times and send blessings on the Prophet ﷺ, then say the supplication.

    Hashiyat al-Dasuqi, in al-Sharh al-Kabir · vol. 1 · pp. 20–21

    Pray two rak’ahs intending the guidance prayer, then say the supplication.

    al-Nawawi, al-Majmu’ · vol. 4 · pp. 53–54

    After two non-obligatory rak’ahs, say the istikharah supplication.

    al-Buhuti, Sharh Muntaha al-Iradat · vol. 1 · pp. 249–250

  7. Name your matter

    Where the supplication says “this matter,” name what you are deciding.

    Sources: · · ·

    Name your need in place of “this matter,” or say after it, “and it is such and such.”

    Ibn Abidin, Radd al-Muhtar · vol. 2 · p. 26

    Where it says “this matter,” keep your matter in mind, or name it if you wish.

    Hashiyat al-Dasuqi, in al-Sharh al-Kabir · vol. 1 · p. 21

    Name your need in the du’a.

    al-Nawawi, al-Majmu’ · vol. 4 · pp. 53–54

    Name your need in the du’a.

    al-Buhuti, Sharh Muntaha al-Iradat · vol. 1 · pp. 249–250

  8. Afterwards

    Then go ahead with what your heart settles on, and accept the outcome.

    Sources: · · ·

    Look to what first comes to the heart; the good lies in it.

    Ibn Abidin, Radd al-Muhtar · vol. 2 · p. 27

    When you have finished, go ahead with whatever your heart is at ease with, whether doing it or leaving it.

    Hashiyat al-Dasuqi, in al-Sharh al-Kabir · vol. 1 · p. 21

    Look to what your heart inclines to first; the good lies in it.

    al-Khatib al-Shirbini, Mughni al-Muhtaj · vol. 1 · pp. 458–459

    Afterwards, hurry to do what seems good to you.

    al-Buhuti, Sharh Muntaha al-Iradat · vol. 1 · pp. 249–250

  9. Repeating it

    If you are still unsure, you may repeat it, up to seven times.

    Sources: · ·

    Repeat it seven times.

    Ibn Abidin, Radd al-Muhtar · vol. 2 · p. 27

    Seek guidance seven times.

    Sharh al-Kharashi · vol. 1 · pp. 37–38

    Seek guidance seven times.

    al-Khatib al-Shirbini, Mughni al-Muhtaj · vol. 1 · pp. 458–459

    If you are still unsure, you may repeat it, up to seven times.

    The Hanbali books we use don’t cover this step. This is the way that’s valid in all four schools.

  10. If you can’t pray

    If you can’t pray, say the supplication alone.

    Sources: · ·

    If you can’t pray, seek guidance with the du’a alone.

    Ibn Abidin, Radd al-Muhtar · vol. 2 · p. 27

    If you can’t pray, seek guidance with the du’a alone.

    Sharh al-Kharashi · vol. 1 · pp. 37–38

    If you can’t pray, seek guidance with the du’a alone.

    Zakariyya al-Ansari, Asna al-Matalib · vol. 1 · p. 205

    If you can’t pray, say the supplication alone.

    The Hanbali books we use don’t cover this step. This is the way that’s valid in all four schools.

The du’a for istikhara

Not sure of your school? Find it by where your family is from

Questions about wudu, prayer and fasting

All step-by-step guides

In the Hilm app

Answers by your school, with sources.

An answer in Hilm, for a Hanafi: two rak’ahs while traveling, why, when it changes, and the books it comes from.
A screen from the app’s preview. Hilm isn’t in the stores yet.

Schools differ in a few small details. Most people follow the one their family or their mosque follows.

Page numbers follow the editions in the Shamela library. The steps and the sources are the ones the Hilm app uses. Last updated 1 December 2026. No scholar reviews each step.

How we check this website · Report a problem

AI companion for Muslims

It listens first, answers from the Qur’an and Sunnah through the four Sunni schools, shows you where, and takes care of your prayer times, reminders and plans, even when life changes.

A free first month of membership for the first 300 to use their code

We’ll email your code on launch day.

  • Your code works where Hilm is in your App Store or Google Play.
  • After the free month, membership renews at the regular monthly price unless you cancel. We remind you the day before.
  • Your address: one email on launch day, maybe an invitation to try Hilm early. After the last email, we delete it.

Hilm is made by Open Grove LLC, 30 N. Gould St. #67253, Sheridan, WY 82801, USA. Withdraw your consent anytime: privacy@meethilm.com. Privacy policy