´It was narrated that Ibn ‘Abbas said:` “A man died whom the Messenger of Allah (ﷺ) used to visit, and they buried him at night. When morning came, they told him. He said: ‘What kept you from telling me?’ They said: ‘It was night and it was dark, and we did not like to cause you any inconvenience.’ Then he went to the grave and offered the funeral prayer for him.”
Related hadith on this topic
Explanation & Benefits
Maulana Dawood Raz
Hadith Commentary:
This hadith establishes that everyone should be informed about the funeral prayer (salat al-janazah) of the deceased, and even now, on such occasions, the funeral prayer can be performed at the grave as well.
Source: Sahih Bukhari: Commentary by Maulana Dawood Raz, Page: 1247
Shaykh Abdul Sattar al-Hammad
Hadith Commentary:
Previously, in the heading, Imam Bukhari rahimahullah discussed informing others about someone’s death, and in this heading, he has discussed giving news about the preparation of the funeral, especially informing those who are prominent personalities and leaders or guides.
Some commentators have said that the person mentioned in the hadith of Ibn Abbas radi Allahu anhu is the same as the one mentioned in the hadith of Abu Hurairah radi Allahu anhu. However, this is not correct, because in the hadith narrated from Sayyiduna Abu Hurairah radi Allahu anhu, there is mention of a woman named Umm Mihjan radi Allahu anha who used to clean the mosque, whereas the person about whom Abdullah ibn Abbas radi Allahu anhu is giving news—that the Messenger of Allah sallallahu alayhi wa sallam came to his grave and performed the funeral prayer—was not a woman but a man. Therefore, in no way can these two be the same person.
These are two separate incidents: in one, there is mention of performing the funeral prayer at the grave of a woman, and in the other, performing the funeral prayer at the grave of a man.
(al-Mu‘jam al-Awsat of al-Tabarani: 78/9, and Fath al-Bari: 152/3)
And Allah knows best.
Source: Hidayat al-Qari: Commentary on Sahih Bukhari, Urdu, Page: 1247