Praying for another person in their absence is a recommended act of worship, and Muslims are encouraged to pray for others and ask Allah to grant them goodness.
However, the popular statement that "the prayer of 40 strangers is guaranteed to be answered" is not an established Prophetic hadith. There is no established evidence that specifies 40 people as a condition for the acceptance of a supplication or requires those people to be strangers.
The virtue of praying for others is established through broader Islamic teachings.
The Virtue of Supplication in Islam
Supplication is an important act of worship based on humility, reliance upon Allah, and recognition of one's need for Him.
Allah says:
"When My servants ask you about Me, I am near. I answer the prayer of the supplicant when he calls upon Me." [Quran 2:186]
Allah also says:
"Call upon your Lord with humility and privately." [Quran 7:55]
The Prophet also described supplication as an act of worship, emphasizing its important place in Islam.
Is Praying for Others in Their Absence Accepted?
Praying for another person in their absence is encouraged in Islam. This means asking Allah to grant another person goodness, mercy, forgiveness, guidance, protection, or other lawful benefits without that person being present.
A well-known Prophetic teaching states that when a Muslim prays for another Muslim in their absence, an angel says that the person making the prayer will receive the same.
This highlights the special virtue of sincerely praying for others.
What Does Praying for Someone in Their Absence Mean?
Praying for someone in their absence means asking Allah to benefit another person while that person is not present and does not necessarily know about the prayer.
A Muslim may pray for parents, children, spouses, relatives, friends, neighbors, or other Muslims.
There is no general requirement that the person making the prayer must be a stranger to the person receiving it.
Must the People Making the Prayer Be Strangers?
There is no established Islamic evidence requiring those who pray for another person to be strangers in order for the prayer to be accepted.
A relative, friend, neighbor, or another person may pray for someone else, provided that the request itself is lawful.
Likewise, there is no established general rule that a specific number of people must make the prayer for it to be answered.
What About the Statement "A Distant Person's Prayer"?
A Prophetic narration attributed to Abdullah ibn Amr refers to the virtue of one absent person praying for another absent person.
This teaching supports the general virtue of praying for others when they are not present.
However, it does not establish a requirement for a specific number of strangers, nor does it establish the popular claim that the prayer of exactly 40 strangers is guaranteed to be answered.
Why Is Praying for Others in Their Absence Recommended?
One important virtue of praying for someone in their absence is sincerity. The person making the prayer is not necessarily seeking thanks or a direct personal benefit from the person receiving the prayer.
Praying for others also reflects compassion, goodwill, and a sincere desire for another person's well-being.
For this reason, Muslims are encouraged to pray for others without restricting this practice to an unestablished number.
Conclusion
The statement "the prayer of 40 strangers is guaranteed to be answered" is not an established Prophetic hadith, and there is no established Islamic rule that connects the acceptance of supplication to exactly 40 strangers.
However, praying for others in their absence is a recommended practice supported by Prophetic teachings. A Muslim may therefore pray for others frequently and sincerely, seeking goodness for them and reward from Allah.
Is the prayer of 40 strangers guaranteed to be answered?
There is no established Islamic evidence that guarantees the acceptance of a prayer simply because exactly 40 strangers make it.
Is praying for others in their absence recommended?
Yes. Praying for others in their absence is a recommended act of worship, and Prophetic teachings describe its virtue.
Must the person praying be a stranger?
No. There is no requirement that the person making the prayer must be a stranger to the person being prayed for.
What is the virtue of praying for someone in their absence?
A Prophetic teaching states that an angel responds to such a prayer by asking that the person making the prayer receive the same good.
Is there a fixed number required for an accepted prayer?
There is no general fixed number established as a condition for the acceptance of supplication.



