Al-Azhar Fatwa received a question about performing two rak‘ahs after Fajr for a deceased father. They clarified that prayer is a personal act of worship and cannot be performed on behalf of someone else, whether alive or deceased, as it requires direct devotion and submission to Allah by the individual.
The Fatwa highlighted that deeds benefiting the deceased include: ongoing charity, beneficial knowledge, and supplications from a righteous child, as narrated in the hadith of the Prophet ﷺ: “When a person dies, their deeds come to an end except for three: ongoing charity, knowledge that benefits, or a righteous child who prays for them” (Muslim).
Dr. Magdy Ashour, Scientific Advisor to the Grand Mufti, explained that scholars agree one cannot pray on behalf of a deceased, but it is permissible to pray and ask Allah to reward the deceased with the same merit as one’s prayer, without this constituting a direct substitution.
Additionally, one may recite Quran, fast, or give charity intending to dedicate its reward to the deceased. Expressing this intention, either verbally or silently in the heart, is encouraged as a means of intensifying prayers and seeking mercy and forgiveness for the deceased.



