In religious teachings, prayer has such an importance and high standing that it is known as the weapon of the faithful; and prayers is such important and effective that it is said it can turn the destiny.
Prayer is also particularly important in the Quran. This issue is addressed in different situations. For example, verse 77 of Sura al-Furqan says: “O Prophet! Tell people: ‘if you do not pray, my Lord will not heed you any attention’.”
Prayer should not be limited only to the major and far-reaching matters, and should not neglect praying for even the most minor matters. So, it is quoted that in what God has revealed to Moses, he said: “O Moses! Ask whatever you need from me, even the food for the sheep and the salt for your dough.”
Prophet (PBUH) says: "Each of you should ask God for all their needs, even if your shoe lace is torn, ask it from God."
It should be noted that at the time of blessings of prosperity and having no problem, praying is more crucial and has more blessing. In other words, asking God beforehand in prayers before God is recommended.
Prophet Muhammad (PBUH) says in this regard: "When you show yourself to God in comfort, in adversity and hardship, he knows you."
Imam Sajjad (AS) in his Prayer says: "Do not put me among those who are happy with the good, and are hapless in time of evil and adversity. Those only call you in times of adversary and remember you when they are in misery. In those times, they kneel before you and they stretch their hands to beg you.”
Imam Sadiq (AS) emphasizes on prayer in times of joy and says: "The one who does prays beforehand (pray always and not just when in problems and hardship), when in trouble, their prayers will be answered. And the angels say: the sound is familiar and will not be prevented to reach heaven (God). But those who do not do so, their prayers will not be answered when in trouble; and the angels say: we do not recognize this voice.”
Mizan al- Hekmat