Supplication has an effect, but it must be accompanied by righteous action.
In the Holy Quran, supplication and action are emphasized together, especially in several verses. In Surah Al-Mu'minun, verse 60, it states: "And those who spend part of the night to their Lord prostrating and standing." This indicates that the righteous servants of God engage in worship and supplication. This verse highlights that prayer is an essential part of worship and connection with God. However, this prayer must be accompanied by righteous actions. In fact, supplication can be viewed as a request to God, but to reach a desirable outcome, action is needed. In Surah Ibrahim, verse 34, it is also mentioned: "And He has given you of all that you asked of Him," which shows divine bestowal to His servant in response to actions taken toward requests. Additionally, in Surah Al-Baqarah, verse 186, it is stated that God has made a promise: "And when My servants ask you concerning Me, indeed I am near. I respond to the invocation of the supplicant when he calls upon Me," but attention must be paid to the fact that the conditions for supplication and performing righteous deeds should exist simultaneously. Thus, supplication without action cannot fulfill our expectations, a notion strongly emphasized in Islamic teachings. Prayer should be viewed as a motivation for positive action. We must strive towards action and sincerity in intention so that our prayers may be closer to being heard.
And those who spend part of the night to their Lord prostrating and standing.
And when My servants ask you concerning Me, indeed I am near. I respond to the invocation of the supplicant when he calls upon Me.
One day, a worshipper was praying and seeking God's mercy with all his heart. After several days, he pondered whether he should only pray or also engage in good deeds. He decided to stand for the morning prayer promptly every day and give charity. Over time, he realized that his connection with God deepened, and his prayers became more uplifting than before.