Jewish Prayers for the Dying
Nearing end of life
The Mi Sheberach is recited during bikkur cholim (visiting the sick). Mi Sheberach is recited for the sick, specifically for healing from physical and emotional pain.
At death
As death nears, we approach one of the most profound times of our lives - the returning of our soul to G-d. The set of prayers called Viduy, "Confession," is to be recited before death. This is a lesser-known custom. (Viduy is also recited on Yom Kipur and before weddings.)
A common format of the Viduy (or Vidui) prayers is presented here. The article also includes a 9½ minute audio of Viduy and Final Prayers. Zalman Goldstein of the Jewish Learning Group explains that "One should not delay reciting Viduy out of fear that it may be a bad omen. Many people have recited the Viduy and gone on to live many long years. In fact, saying the Viduy is helpful for one's recovery, as sincere repentance brings merit to the person and can nullify a severe decree from Heaven."
Additional practices
Judaism offers unique traditions and practices at the end of life, including the dying process, funeral and burial, and the grief journey.
This thorough article on Jewish practices, written for those supporting the dying, discusses Jewish ethical will, Bikkur Cholim (visiting the sick), funeral planning, prayers at imminent death, Taharah (preparing the dead for burial), death notification, burial, Shmirah (ritual guarding of the body), and mourning practices. It is written by two authors from two different approaches to Jewish observance. They offer insight into how this death framework is sometimes adapted for modern times.