Abu Saeed Khudri reported,

When the Messenger of Allah ﷺ arrived, whenever any of us was on the verge of death, we would inform him, and he would come before the person died, sit with him, pray for his forgiveness, and wait for his death.Sometimes this kept him for a long time and became difficult for him. So we said, "It would be more considerate to the Messenger of Allah not to inform him of someone dying until they have actually died."So when one of us died, we would inform him, and he would come to the family, pray for forgiveness for the deceased, and perform the funeral prayer over him. If he then chose to remain for the burial, he would wait for it, and if he chose to leave, he would leave.We continued in this way for another period. Then we said, "It would be more considerate to the Messenger of Allah ﷺ if we carried our dead to his house, so as not to make him go out or trouble him."So we did that, and that became the practice.

Azami 3491

Hasan

عن أبي سعيد الخدري قال

لما قدم رسول الله ﷺ كنا نؤذنه لمن حضر من موتانا فيأتيه قبل أن يموت فيحضره ويستغفر له، وينتظر موته. قال: فكان ذلك ربما حبسه الحبس الطويل، فيشق عليه، قال: فقلنا: أرفق برسول الله أن لا نؤذنه بالميت حتى يموت، قال: فكنا إذا مات منا الميت آذناه به، فجاء في أهله، فاستغفر له، وصلى عليه، ثم إن بدا له أن يشهده، انتظر شهوده، وإن بدا له أن ينصرف انصرف، قال: فكنا على ذلك طبقة أخرى قال: فقلنا: أرفق برسول الله ﷺ أن نحمل موتانا إلى بيته، ولا نشخصه ولا نعنيه، قال: ففعلنا ذلك، فكان الأمر.

الأعظمي 3491حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Dying person
Section
Attending to the dying person until they pass away and asking forgiveness for them
Numbering
Jami al-Kamil 3491 (2nd edition)
Azami 3491