Is Salat-ul-Hajah a Sunnah?
Question
Is salat-ul-hajah in Islam or not?Answer
Wa `alaykum as-salamu wa rahmatullahi wa barakatuh.
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
Thank you brother for your question and for your care for learning the rulings of Islam. May Allah Almighty increase you and us in knowledge and piety.
Indeed, all Muslims are highly encouraged to make du`aa to Allah Almighty for all their needs, as He, the Exalted, says in the Qur'an, (And your Lord says: Call upon Me, I will answer you; surely those who are too proud for My service shall soon enter hell abased.) (Ghafir 40: 60)
As for your question on Salat Al-Hajah, Dr. Mahmud Al-Khayami, Head of Islamic Studies Dept, Faculty of Medicine, Al-Azhar University, stated,
It was the Sunnah of the Prophet (peace and blessings be upon him) to ask Allah Almighty for all what he needed. Moreover, he highly encouraged his companions and followers not ask any human or depend on them to answer their needs, rather they should ask their Lord and Creator, Allah, to provide them with all they need and fulfill all their wishes.
As for Salat Al-Hajah, it is not from the Sunnah to pray two rak`as and make du`aa, as some Muslims do – calling this Salat Al-Hajah. Those may have been mistaken because of a hadith – the only hadith in this matter – narrated by Ahmed and At-Tabarani, but, according to the majority of hadith scholars, it is "very weak", as Al-Albani said.
Given the above, it is the duty of a Muslim to pray, call, and make du`aa to Almighty Allah wherever he/she is and whenever he/she wishes. But, it is not a Sunnah to do that special form of Salat Al-Hajah.
Allah knows best.
