Prayer

How to pray salat al-hajah: how many rak'ahs and when?

Last updated: 10 November 2026

The hajah prayer is a voluntary prayer offered by someone who has a material or spiritual need, or who wants to be relieved of a hardship or have a wish fulfilled, turning to Allah. "Hajah" means need. The information in this article follows the Hanafi school.

The ruling on the hajah prayer

The hajah prayer is recommended (mustahab). The Quran advises seeking help from Allah through patience and prayer (Al-Baqarah 45). The basis of the hajah prayer is narrations in the hadith collections advising a person in need to make wudu, pray two rak'ahs and then make dua.

When is it prayed?

The hajah prayer is not tied to a particular time. It can be prayed at any hour of the day outside the disliked times:

  • While the sun is rising and about 45 minutes after sunrise
  • When the sun is at its zenith, about 45 minutes before dhuhr
  • After the asr prayer until sunset

Voluntary prayers are not offered at these times. Because the last third of the night is a virtuous time for dua, praying the hajah prayer at tahajjud time is also recommended.

How many rak'ahs is the hajah prayer?

The hajah prayer is usually prayed as 2 rak'ahs. Some narrations also mention 4 or 12 rak'ahs. You may choose one of these according to your ability.

How to pray the hajah prayer

  1. Make wudu carefully. For how wudu is performed, see how to perform wudu.
  2. Intention: Intend "I intend, for the sake of Allah, to perform the hajah prayer."
  3. Pray two rak'ahs like the sunnah of fajr: recite Subhanaka, al-Fatiha and a surah; bow and prostrate, sit at the end of the second rak'ah and give salam.
  4. After the prayer, praise Allah and send blessings on the Prophet (Allahumma salli and Allahumma barik may be recited).
  5. Present your need to Allah sincerely in your own words.

For how to pray step by step, see how to pray.

Making dua

There is no single dua prescribed after the hajah prayer; you may pray in your own language. For duas recited in times of hardship, see the dua for distress and the dua of Prophet Yunus, and for the sick, the dua for healing.

For those with missed prayers

Someone who owes make-up prayers should not neglect them alongside voluntary prayers. For details see Friday and make-up prayers, and for another voluntary prayer during the day see duha prayer.

Sources

  • Presidency of Religious Affairs of Türkiye (Diyanet), İlmihal I, chapter "Nafile Namazlar"
  • Surah Al-Baqarah, verse 45

This guide is also available in Turkish.

Prayer times, duas and khatm in your pocket

The NurVakit app for Android and iPhone: adhan notifications, time until the next prayer, duas and surahs, shared khatm, the daily verse and guides. Works offline.

About the app