In the Name of Allah, the Most Gracious, the Most Merciful.
Assalāmu ‘alaykum wa rahmatullāhi wa barakātuh
Salāt al-Hājah (“Salāh of Need”) refers to performing two or more rak‘ats of optional salāh with the purpose of fulfilling one’s needs, whether followed by a du‘ā’ or not. This basic notion of Salāt al-Hājah is established in the sources of Sharī‘ah.
Allāh Ta‘ālā says in the Qur’ān:
استعينوا بالصبر والصلوة
“Take help from patience and salāh.” (Qur’ān, 2:45)
It is reported from Hudayhfah رضي الله عنه: