It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that he said: "In the blessed time of the Messenger of Allah (peace and blessings be upon him), when a man became gravely ill (on his deathbed) and the time of his death drew near, we would call the Messenger of Allah (peace and blessings be upon him) so that he (peace and blessings be upon him) would be present with him. Sometimes this waiting became long, so we said: This is burdensome for the Messenger of Allah (peace and blessings be upon him) (that is, it causes him (peace and blessings be upon him) hardship). So we thought it proper (not to trouble him (peace and blessings be upon him) and) to leave the man as he was until he died, and after that to call the Messenger of Allah (peace and blessings be upon him). We remained on this practice for some time; then we were of the view that it was easier for the Messenger of Allah (peace and blessings be upon him) that we ourselves carry our funerals to him (peace and blessings be upon him), so we did that, and the matter then continued in this way."
Imam Abu Dawud al-Tayalisi recorded this narration with a sahih chain.