People of wisdom acknowledge that a spiritual void and various pressures of everyday life contribute to psychological disorders, especially anxiety and depression.
Prophet Muhammad (PBUH) addressed these psychological problems by promoting strong faith in Allah Almighty.
According to the Quran, Allah says:
Remembrance of Allah comforts those who believe and whose hearts find comfort in it. The memory of Allah brings comfort to the core. [Quran 13:28]
When a believer extends bridges of communication with his Creator, he will surely have a contended heart, a peaceful mind, and a conscience. The Prophet (PBUH) said: "What an amazing affair the believer has! Indeed, all his affairs are good for him. This is for no one but the believer. If something good happens to him, he is grateful to Allah, which is good for him. “And if something bad happens to him, he will have patience, which is good for him." [Sahih Muslim]
It is possible to experience anxiety or depression as a result of fear, poverty, illness, or potential calamities. A believer would, however, seek divine reward for any problem he encounters because he knows that everything is pre-destined by Allah Almighty. According to the Quran, such problems and calamities are rewards from Allah Almighty:
A believer with greater contentment would receive any imminent threats or harm, and recovery would be sought. In the words of Allah Almighty:
As they were warned, “Your enemies have mobilized their forces against you, so beware,” the warning only strengthened their faith, and they answered, “Allah alone is sufficient as an aid for us and he is the best protector.” So they returned with Allah’s grace and blessings, suffering no harm in the process. To please Allah, they sought to please Him. There is no doubt that Allah is the Lord of infinite bounty. [Quran 3:173-174]
THE BEST SOLUTION IS PRAYER AND REMEMBERS OF ALLAH
The Prophet (PBUH) would pray as soon as things went wrong. Whenever he called for prayer, he would say: "O Bilal, call for prayer." This gives us relief from worry, anxiety, and concern. Prayer is, therefore, a way to achieve inner peace.
During times of distress, the Messenger of Allah (PBUH) taught Asma' bint 'Umais some words to say: 'Allah! Allahu Rabbi la ushriku bihi shay'an' (Allah, Allah is my Lord, I do not associate anything with Him)."