While doing research for a grief pamphlet from the Islaamic perspective I am writing for the prison, I came across the following hadith. It describes what happens, in part, during the dying process:
"Abu Hudbah Ibrahim bin Hudbah related from Anas bin Malik that the Prophet (saw) said: 'Indeed, the worshipper experiences the agonies and pangs of death; his joints bid one another peace, saying, 'And peace be upon you; you part from me and I part from you until the Day of Judgement.'" (It was mentioned by Ibn 'Iraq in Tanzib Ash-Shari'ah 2:375, and he attributed it to Ad-Dailami, from Anas.)
Being a person who suffers from severe arthritis along with MS and peripheral neuropathy, Alhamdulillah, this hadith jumped off the page at me.
Just the vision of my poor joints saying "as salaamu alaikum" to each other at my death is somehow comforting and increases hope for the Day of Judgement.