Supplicating for the deceased by name in the funeral prayer
Question: Is it permissible to supplicate for the deceased by name in the funeral prayer?
Answer: In the narration of Wathilah ibn al-Asqa’ (may Allah be pleased with him), the following words are established from the Messenger of Allah ﷺ:
«اللهم ان فلان بن فلان فى ذمتك فقه عذاب القبر»
“O Allah! Indeed so-and-so, son of so-and-so, is in Your protection, so protect him from the punishment of the grave.”
This is evidence that in the funeral prayer this supplication should be recited by mentioning the name of the deceased, because “so-and-so, son of so-and-so” refers to a specific person. There is no benefit in merely repeating the words “so-and-so, son of so-and-so”.
Regarding this hadith, Shaykh Shams al-Haqq Azimabadi says in ‘Awn al-Ma’bud:
«فيه دليل على استحباب تسمية الميت باسمه واسم ابيه وهٰذا ان كان معروفا والا جعل مكان ذٰلك اللهم ان عبدك او نحوه»
“In this hadith there is evidence that it is permissible to mention the name of the deceased and the name of his father. This applies when his name is known, but if his name is not known, then «اَللّٰهُمَّ اِنَّ عَبْدَكَ» is said, or some other words similar to it.”