Quick facts about Salatul Hajat:

Rakat: 2 (nafl)
Purpose: any specific personal need, worldly or religious
Time: any time outside the three prohibited windows
Status: mustahabb (recommended), supported by the broader sunnah of asking Allah
Key practice: wudu, two rakat, then a specific du'a with your need named

Every person carries needs. Some are small, a stuck task at work, a kind word that did not come, a key you cannot find. Some are heavy, a sick parent, a debt that grew, a marriage that bends under strain. Islam does not ask you to face any of them alone. The Prophet ﷺ taught a specific prayer for moments like these, two rakat followed by a focused du'a. We call it Salatul Hajat, the prayer of need.

Tip: FivePrayer can remind you to pray your daily fard prayers on time. The peace of mind that comes from never missing a prayer is the best foundation for asking Allah for what you need. Free, no ads.

What is Salatul Hajat?

Salatul Hajat is a two rakat voluntary prayer performed when you have a specific need you want to lay before Allah. The word hajah means "need" in Arabic, a request, an aim, a matter that hangs over you and that you cannot resolve by your own hand alone. The prayer is two rakat plus a focused du'a after the salam, and within that simple structure sits an entire act of trust.

You are not bargaining when you pray Salatul Hajat. You are not bribing the Most Generous. You are doing what every weak servant does when his strength runs out, you are turning to the One whose strength never runs out and saying out loud, in front of yourself and in front of Allah, what you need.

The structure matters. Two rakat orient the body. A specific du'a gives words to what may otherwise stay vague. And the salam at the end is not a goodbye, it is a beginning, because the du'a that follows the prayer is the heart of the practice.

The Tirmidhi hadith and its grading

The text most commonly cited as the basis for Salatul Hajat comes from Sunan al-Tirmidhi 479, on the authority of Abdullah ibn Abi Awfa, with similar narrations through Anas ibn Malik. The Prophet ﷺ said:

"Whoever has a need from Allah or from any of the children of Adam, let him perform wudu and perform it well, then pray two rakat, then praise Allah and send salawat upon the Prophet, then say: There is no god but Allah the Forbearing, the Generous. Glory to Allah, Lord of the Mighty Throne. All praise is for Allah, Lord of the worlds. I ask You for all that occasions Your mercy and that which obliges Your forgiveness, and a share of every good deed and safety from every sin. Do not leave a sin in me except that You forgive it, nor a worry except that You relieve it, nor a need that pleases You except that You grant it, O Most Merciful of the merciful."

A note on grading. Imam al-Tirmidhi himself recorded the hadith and described it as hasan gharib. The Hanafi and Shafi'i tradition has long included Salatul Hajat in their fiqh on this basis. Some hadith specialists, including Imam al-Albani and earlier critics, considered the chain weak. The position of most classical and contemporary scholars is that even if this particular wording has a weak chain, the broader principle, asking Allah after two rakat of prayer, is established by multiple authentic narrations, including the hadith of Bukhari 1162 about praying two rakat before any important matter, and the general command in the Qur'an: "Seek help through patience and prayer" (Qur'an 2:153).

So pray Salatul Hajat with confidence. The act itself is rooted in authentic sunnah. If you want to use the specific Tirmidhi du'a after, you may, with the awareness that the chain is debated. If you prefer to use only what is in the Qur'an or the strongly authenticated du'as, you can do that and the prayer is still Salatul Hajat in spirit and form.

The niyyat

The niyyat is made in the heart, not on the tongue. Before you say Allahu Akbar, the heart settles on this: "I intend to pray two rakat of Salatul Hajat for the sake of Allah, for my need." You do not need to name the need at the moment of niyyat. The naming comes later, in the du'a. The niyyat just orients the prayer, like aiming an arrow before drawing the bow.

If you forgot to make a specific niyyat for hajat and you simply prayed two rakat of nafl, you can still make the du'a after and Allah hears. But forming the niyyat first sharpens the act and trains your heart in the discipline of focused worship.

How to pray Salatul Hajat step by step

  1. Make wudu carefully. The hadith specifies and perform it well. Take your time with each limb. Wudu is part of the prayer of need, not a step to rush.
  2. Find a clean, quiet place to stand. If you are at home, a corner away from screens. If at work, an empty meeting room. The body does not need a beautiful spot, but the heart finds focus easier in silence.
  3. Niyyat in the heart. Two rakat of Salatul Hajat for the sake of Allah, for my need.
  4. Takbiratul ihram. Hands up, Allahu Akbar, then place your hands as you usually do.
  5. First rakat. Recite Al-Fatihah, then a surah of your choice. Surah Al-Kafirun is recommended by some scholars for this prayer. Ruku, two sujood. Stand.
  6. Second rakat. Recite Al-Fatihah, then another surah, often Al-Ikhlas. Complete the rakat. Sit for the final tashahhud, send salawat upon the Prophet ﷺ, and give salam to the right and to the left.
  7. After the salam. Stay seated. Raise your hands. Now comes the heart of the act: praise Allah, send salawat upon the Prophet ﷺ, recite the du'a of hajat, and ask for your need in plain language.

The prayer itself takes five to seven minutes. The du'a after can take as long as you want. Many people who pray Salatul Hajat regularly say the du'a takes longer than the rakat, and that is exactly as it should be.

The famous du'a after the prayer

This is the du'a from the Tirmidhi hadith. Even if the chain is debated, the meanings are beautiful, the words are an act of tawhid and humility, and reciting them is a known and accepted practice across madhabs:

Transliteration:
La ilaha illa Allah al-Halim al-Karim. Subhan Allahi Rabbi al-arshi al-azim. Al-hamdu lillahi Rabbi al-alamin. As'aluka mujibati rahmatik, wa aza'ima maghfiratik, wal-ghanimata min kulli birr, wal-salamata min kulli ithm. La tada' li dhanban illa ghafartah, wa la hamman illa farrajtah, wa la hajatan hiya laka ridan illa qadaytaha, ya Arham al-Rahimin.

Translation:
"There is no god but Allah the Forbearing, the Generous. Glory to Allah, Lord of the Mighty Throne. All praise is for Allah, Lord of the worlds. I ask You for everything that brings Your mercy, and that which obliges Your forgiveness, a share of every good deed and safety from every sin. Do not leave a sin in me except that You forgive it, nor a worry except that You relieve it, nor a need that pleases You except that You grant it, O Most Merciful of the merciful."

After this opening, name your need clearly. Not in hints, not in vagueness. Allah already knows, but the act of naming it makes you face it. "Ya Allah, my mother is sick and I am afraid. Heal her." "Ya Allah, this job, give me what is best of it or take it from me and give me better." "Ya Allah, my child is far from me. Bring him back to You and back to me." Say it in any language. Allah understands every tongue.

Finish with salawat upon the Prophet ﷺ and praise of Allah, just as you opened. Du'a is a frame: praise, salawat, ask, salawat, praise.

How to focus on the need

The hardest part of Salatul Hajat is not the prayer, it is the focus. You stand in two rakat with your need in your chest, and the mind tends to scatter. Three small habits help.

Write the need down first. Before you make wudu, take a piece of paper or your notes app and write one sentence: "I am praying for ___." Reading it back clarifies the need. Often when you write it, you discover the real need is different from the one you started naming.

Stay in the prayer. When the mind wanders during the rakat, gently bring it back to the recitation. Do not strain. The mind is going to wander. Bring it back and continue. The rakat are an act of trust before the asking.

Take your time after the salam. The longest part of Salatul Hajat is the du'a after, not the prayer itself. Do not rush up to leave. Sit. Speak. Cry if the tears come, do not perform them. Many people find that the act of asking, slowly and out loud, is itself a relief.

When to pray Salatul Hajat

You can pray Salatul Hajat at any time except the three prohibited windows: from the start of sunrise until about fifteen minutes after the sun has risen, at exact noon (zawal) for a few minutes, and from when the sun begins to yellow until it sets. Outside these times, any hour is valid.

Some times are more blessed for du'a. The last third of the night is the most blessed for asking. The Prophet ﷺ said Allah descends to the lowest heaven in the last third of the night and asks, "Is there anyone who asks Me, that I may give him? Is there anyone who calls upon Me, that I may answer him?" (Bukhari 1145). The hour before Maghrib on Friday, between adhan and iqamah, while in sujud, when traveling, when fasting, all of these are also accepted times for du'a.

That said, if your need is urgent, do not wait. The night will come, but the answer comes faster than the night sometimes. Pray when you can.

How many times to repeat

Some scholars, including Imam al-Ghazali, recommended praying Salatul Hajat for several nights in a row, often seven, when the need is great. There is no fixed number from the sunnah. The principle is persistence. The Prophet ﷺ said, "The supplication of any one of you will be answered as long as he does not become impatient and say, 'I supplicated but no answer came.'" (Bukhari 6340).

Repeat freely. Do not measure your faith by whether the answer arrives on day one or day seventy. The answer may come exactly as you asked, or in a form you did not see, or in the next life. All three are answers.

FAQ

Is Salatul Hajat from the sunnah?

Yes, with a note. The specific Tirmidhi hadith has a debated chain. The broader practice of praying two rakat before asking Allah for something important is well established in many authentic narrations, and Salatul Hajat has been part of Muslim practice across all four madhabs for over a thousand years. Pray it with confidence.

Can I name multiple needs in one du'a?

Yes. Allah is not constrained. Name as many needs as are on your heart, big and small. The Prophet ﷺ taught us to ask for even a strap for our sandal. Comprehensive du'as such as asking for the good of this world and the next cover all needs at once.

What if I do not memorize the Arabic du'a?

It is enough to say "Ya Allah" and then ask in your own language. Memorize what you can of the prophetic words, and ask in your native tongue for the rest. The heart's intention matters more than the language.

Can a woman pray Salatul Hajat during her period?

She cannot pray the two rakat during menstruation, but she can still make du'a with the same words and the same focus. Du'a is not affected by menstruation, only the formal prayer is. Many scholars recommend that women on their period sit at the time they would have prayed and make du'a for their need.

What if I do not feel the need is "important enough"?

Allah loves to be asked, even for small things. The Prophet ﷺ said, "Let any one of you ask his Lord for everything he needs, even a broken shoelace." (Tirmidhi 3604, with a graded chain). If it occupies your mind, it is important enough.

A foundation for the asking

FivePrayer: never miss a prayer, on the day you need to ask.

The strongest du'as come from the heart of someone who guards the five daily prayers. FivePrayer's gentle adhan and lock screen help you stay consistent. Free on iOS, Android, and Chrome.

Download on theApp Store
Get it onGoogle Play
Also onChrome