The official Roman Catholic liturgical book for this is “Pastoral Care of the Sick”. Part 2 of this is “Pastoral Care of the Dying”. The chapter headings are:
Chapter V Celebration of Viaticum
Chapter VI Commendation of the Dying
Chapter VII Prayers for the Dead
Chapter VIII Rites for Exceptional Circumstances.
Chapter VIII has these headings:
Continuous Rites of Penance and Anointing
Rite for Emergencies
Christian Initiation for the Dying
The introduction to Chapter VI Commendation of the Dying includes:
“213. Christians have the responsibility of expressing their union in Christ by joining the dying person in prayer for God’s mercy and for confidence in Christ. In particular, the presence of a priest or deacon shows more clearly that the Christian dies in the communion of the Church. He should assist the dying person and those present in the recitation of the prayers of commendation and, following death, he should lead those present in the prayer after death. If the priest or deacon is unable to be present because of other serious pastoral obligations, other members of the community should be prepared to assist with these prayers and should have the texts readily available to them.
214 . The minister may choose texts from among the prayers, litanies, aspirations, psalms, and readings provided in this chapter, or others may be added. In the selection of these texts the minister should keep in mind the condition and piety of both the dying person and the members of the family who are present. The prayers are best said is a slow, quiet voice, alternating with periods of silence. If possible, the minister says one or more of the brief prayer formulas with the dying person. These may be softly repeated two or three times.”
Here are some examples of the texts. Some of the short texts are:
“ Psalm 25:1
To you, Lord, I lift up my soul.”
“Jesus, Mary, and Joseph,
assist me in my last agony.”
“John 17:24
I desire that where I am,
they also may be with me,
says the Lord Jesus.”
A reading is Matthew 25:1-13.
Under the heading “Prayer of Commendation” it has:
“220. When the moment of death seems near, some of the following prayers may be said.”
There are five prayers. One is the “Hail, holy Queen”. Prayer D is:
“ Lord Jesus Christ, Savior of the world,
we pray for your servant N.,
and commend him/her to your mercy.
For his/her sake you came down from heaven;
receive him/her now into the joy of your kingdom.
For though he/she has sinned,
he/she has not denied the Father, the Son, and the Holy Spirit,
but has believed in God
and has worshiped his/her Creator.
R. Amen. ”
[Excerpts from the English translation of Pastoral Care of the Sick ©1982, International Commission on English in the Liturgy Corporation. All rights reserved.]