- Published on
How to Pray Salatul Hajat — The Prayer of Need, Step by Step
- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education • Deen Back
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
In the name of God, the Most Gracious, the Most Merciful.

There are moments when you do not just want to make a general dua after Fajr. There is something specific. A job interview tomorrow. A medical diagnosis that just arrived. A relationship that is breaking. A financial crisis that has no visible solution. You need to ask Allah — formally, intentionally, with your whole body and your whole heart.
That is what Salatul Hajat is for. The prayer of need. Two rakats, followed by specific supplication, prayed when you have something particular to bring before Allah.
Why This Prayer Matters
The Prophet ﷺ did not just teach words. He taught postures of need. The act of standing, bowing, and prostrating before Allah — before making your request — is not procedural. It is the most authentic way the human body can express total dependence.
When you need something deeply, and you bring that need to the place of prostration before bringing it to anyone else, you are doing something profound: you are placing your hajat (need) in the correct order. First Allah, then the means.
The Prophet ﷺ said:
"Whoever has a need before Allah or before any human being, let him perform wudu well, then pray two rakats, then praise Allah and send blessings upon the Prophet, then say: La ilaha illallah al-Halim al-Karim, subhanallahi rabbil-'arshil-'azim, alhamdulillahi rabbil-'alamin..."
— (Tirmidhi 479, graded hasan by Al-Albani)
Step-by-Step Guide to Salatul Hajat
Step 1: Make Wudu
Begin with a careful, complete wudu. The hadith specifically says "perform wudu well" — meaning with intention and attention, not rushed. Wudu is not just physical preparation; it is a psychological and spiritual preparation. You are about to stand before Allah.
Step 2: Choose Your Time and Place
Find a quiet, clean place where you will not be interrupted. Any time except the three prohibited times is acceptable:
- Sunrise (approximately 15 minutes after the sun appears)
- When the sun is directly overhead at noon (approximately 10 minutes before Dhuhr)
- Sunset (approximately 15 minutes before the sun disappears)
If your need is urgent and serious, the last third of the night is ideal — when Allah descends in a manner befitting His majesty and asks: "Is there anyone asking? I will give him. Is there anyone seeking forgiveness? I will forgive him." (Sahih Bukhari 1145)
Step 3: Make Your Intention
Your intention does not need to be spoken aloud. Say internally: "I intend to pray two rakats of Salatul Hajat for the sake of Allah." Intention is in the heart. Aligning it consciously before beginning is the practice.
Step 4: Pray Two Rakats
Pray two rakats in the same manner as any voluntary prayer:
First Rakat:
- Say Allahu Akbar to begin
- Recite Al-Fatiha
- Recite another surah (Surah Al-Kafirun or any surah you know well)
- Perform ruku, sujood, and rise as normal
Second Rakat:
- Recite Al-Fatiha
- Recite another surah (Surah Al-Ikhlas is often chosen)
- Perform ruku, sujood
- Sit for tashahhud
- Say As-salamu alaykum wa rahmatullahi to complete the prayer
Some scholars recommend reciting Ayat al-Kursi (Surah Al-Baqarah, 2:255) in the first rakat and Surah Al-Ikhlas in the second, as these have specific virtues — but any complete recitation is valid.
Step 5: Praise Allah and Send Blessings on the Prophet
Before making your specific dua, begin with:
- Alhamdulillah — praise Allah
- Allahu Akbar — glorify Allah
- Subhanallah — exalt Allah
Then send blessings upon the Prophet:
اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ
Allahumma salli 'ala Muhammadin wa 'ala ali Muhammad
"O Allah, send blessings upon Muhammad and upon the family of Muhammad."
The Prophet ﷺ said that dua is "suspended between heaven and earth" until blessings are sent upon him. Begin with this before your specific request.
Step 6: Make Your Specific Dua
Now bring your hajat before Allah. Be specific. Name the need. Describe your situation. Ask directly.
The dua recorded in connection with Salatul Hajat includes:
لَا إِلَهَ إِلَّا اللَّهُ الْحَلِيمُ الْكَرِيمُ، سُبْحَانَ اللَّهِ رَبِّ الْعَرْشِ الْعَظِيمِ، الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ
La ilaha illallahul-Halimul-Karim, subhanallahi rabbil-'arshil-'azim, alhamdulillahi rabbil-'alamin
"There is no god but Allah, the Forbearing, the Generous. Glory be to Allah, Lord of the Mighty Throne. All praise is due to Allah, Lord of all the worlds."
After this opening, pour out your specific need. Speak to Allah as the One who hears everything and has the power to give everything.
Step 7: End With Tawakkul
After your dua, close with this:
اللَّهُمَّ إِنِّي أَسْأَلُكَ مُوجِبَاتِ رَحْمَتِكَ، وَعَزَائِمَ مَغْفِرَتِكَ
Allahumma inni as'aluka mujibati rahmatika wa 'aza'ima maghfiratika
"O Allah, I ask You for what necessitates Your mercy and what fulfills Your forgiveness." — (Tirmidhi 479)
Then genuinely surrender. Tawakkul is not passive resignation — it is active trust. You have made your request through the best channel available. The outcome is in the hands of the One who controls all outcomes.
Build Your Salah and Dua Practice Daily
DeenBack helps you track your voluntary prayers and daily dua practice — so your connection with Allah deepens through consistency, not just crisis.
Free download. Premium features available in-app.
Making Salatul Hajat a Regular Habit
Here is an important perspective shift: Salatul Hajat does not have to be only for emergencies.
The Prophet ﷺ himself said that before any important matter — before approaching another human being with a need — he would pray first. This suggests making supplicatory prayer a default posture, not just a crisis response.
Consider building Salatul Hajat into your routine:
- Before job applications or interviews: two rakats, then make dua for clarity and success
- Before difficult conversations: two rakats, then ask Allah to guide your words
- When facing a recurring temptation: two rakats, then ask Allah for strength against your nafs
- When a loved one is sick: two rakats, then make dua specifically for their recovery
The more you practice this pattern — need arises, turn to Allah first — the more natural it becomes. The nafs wants to search the internet, call a friend, spiral into worry. Salatul Hajat trains you to bring the need to Allah before anywhere else.
Common Mistakes to Avoid
Praying without genuine intention. Two mechanical rakats and then a wish list is not Salatul Hajat. The prayer requires presence. If your mind is scattered, slow down, breathe, and bring your attention back before you begin.
Expecting immediate, literal results. Allah answers dua in three ways: He gives you what you asked for, He averts a harm equivalent to what you requested, or He stores the reward for the Day of Judgment. All three are answers. Trust His wisdom about which you need.
Praying only in extreme situations. This trains your heart to see Allah as a last resort. Pray for small things too — a good meeting, a productive morning, a conversation to go well. Keep the channel open.
For the specific dua that accompanies this prayer, see dua for salat ul hajat. For how to prepare your heart before making any dua, see how to make dua that gets accepted. And for when Salatul Hajat is about seeking direction in life, dua for istikhara is the companion prayer for decision-making.
Common Questions
Is Salatul Hajat bidah (innovation)? No. The prayer is based on an explicit hadith in Tirmidhi and Ibn Majah. Some scholars grade the specific hadith as weak but note that the general principle — praying two voluntary rakats before making dua — is strongly supported across multiple narrations. Practicing it is not innovation.
Can I pray Salatul Hajat every day for the same need? Yes. The Prophet encouraged persistent supplication. He said: "Nothing is more honorable to Allah than dua." (Tirmidhi 3370). Repeating your request is not lack of trust — it is a demonstration of ongoing reliance on Allah.
Does the answer have to come in the form I asked for? No. Often Allah's answer is better than what we requested. The Quran says: "Perhaps you hate a thing and it is good for you." (Surah Al-Baqarah, 2:216). Make your request fully, and then genuinely open yourself to whatever Allah provides.
The Prayer That Opens the Door
Salatul Hajat is not a vending machine. It is a conversation — you coming to Allah with full need, and Allah responding with full knowledge of what you actually need.
Pray it today. Not because you are desperate. But because turning to Allah first, for every need, large or small, is exactly the kind of Muslim you want to become.
Develop the Habit of Turning to Allah First
DeenBack helps you track voluntary prayers and build the habit of making dua a daily practice — not just a response to crisis but a constant channel to Allah.
Free download. Premium features available in-app.
Frequently Asked Questions
What is Salatul Hajat?
Salatul Hajat (صلاة الحاجة) is a voluntary prayer of two rakats performed when a Muslim has a specific need or is in difficulty. 'Hajat' means need or necessity in Arabic. It is a means of turning to Allah directly with a specific request, following the prophetic guidance on supplication.
Is Salatul Hajat from the Sunnah?
Yes. The Prophet Muhammad said: 'Whoever has a need, let him perform wudu, pray two rakats, then praise Allah and send blessings upon the Prophet, then make dua.' (Tirmidhi 479, Ibn Majah 1384 — graded hasan by Al-Albani). Some scholars grade the specific hadith as weak, but the principle of performing voluntary prayer before making dua is well-established and widely practiced.
How many rakats is Salatul Hajat?
Salatul Hajat consists of two rakats, prayed as a voluntary (nafl) prayer. They are prayed in the same manner as any other two-rakat prayer.
When is the best time to pray Salatul Hajat?
Salatul Hajat can be prayed at any time except the three prohibited times: at sunrise, when the sun is directly overhead at noon, and at sunset. The last third of the night (tahajjud time) is especially recommended if the need is urgent, as dua made at that time is particularly powerful.
Can I pray Salatul Hajat for someone else?
Yes. You can pray Salatul Hajat and make dua on behalf of another person — a sick relative, a friend in difficulty, or even someone you do not know. The principle of supplicating for others is encouraged in Islam, and dua for another person is particularly powerful.
