[Machine] We used to inform the Prophet (PBUH) whenever one of us passed away, and he would come and seek forgiveness for the deceased until the burial was done. Sometimes he would sit along with us until the burial, and other times he would leave before that. It was burdensome for him, so some people suggested that we should not inform the Prophet (PBUH) until after the burial, so that he wouldn't have to go through the hardship. We followed their suggestion and informed him after the burial, and he would come and pray for the deceased. Sometimes he would leave immediately, and other times he would stay until the burial was done. We continued to do this until today.
كُنَّا مَقْدِمَ النَّبِيَّ ﷺ إِذَا حَضَرَ مِنَّا الْمَيِّتُ آذَنَّا النَّبِيَّ ﷺ فَحَضَرَهُ وَاسْتَغْفَرَ لَهُ حَتَّى إِذَا قُبِضَ انْصَرَفَ النَّبِيُّ ﷺ وَمَنْ مَعَهُ حَتَّى يُدْفَنَ وَرُبَّمَا قَعَدَ وَمَنْ مَعَهُ حَتَّى يُدْفَنَ وَرُبَّمَا طَالَ حَبْسُ ذَلِكَ عَلَى نَبِيِّ اللهِ ﷺ فَلَمَّا خَشِينَا مَشَقَّةَ ذَلِكَ عَلَيْهِ قَالَ بَعْضُ الْقَوْمِ لِبَعْضٍ لَوْ كُنَّا لَا نُؤْذِنُ النَّبِيَّ ﷺ بِأَحَدٍ حَتَّى يُقْبَضَ فَإِذَا قُبِضَ آذَنَّاهُ وَلَمْ يَكُنْ عَلَيْهِ فِي ذَلِكَ مَشَقَّةٌ وَلَا حَبْسٌ فَفَعَلْنَا ذَلِكَ فَكُنَّا نُؤْذِنُهُ بِالْمَيِّتِ بَعْدَ أَنْ يَمُوتَ فَيَأْتِيَهُ وَيُصَلِّيَ عَلَيْهِ وَرُبَّمَا انْصَرَفَ وَرُبَّمَا مَكَثَ حَتَّى يُدْفَنَ الْمَيِّتُ فَكُنَّا عَلَى ذَلِكَ حِينًا ثُمَّ قُلْنَا لَوْ لَمْ نُشْخِصِ النَّبِيَّ ﷺ وَحَمَلْنَا جِنَازَتَنَا إِلَيْهِ حَتَّى يُصَلِّيَ عَلَيْهِ عِنْدَ بَيْتِهِ لَكَانَ ذَلِكَ أَرْفَقَ بِهِ فَفَعَلْنَا فَكَانَ ذَلِكَ الْأَمْرُ إِلَى الْيَوْمِ