Book of Common Prayer (page 462)

Ministration at the
Time of Death

When a person is near death, the Minister of the Congregation should be
notified, in order that the ministrations of the Church may be
provided.

A Prayer for a Person near Death

Almighty God, look on this your servant, lying in great
weakness, and comfort him with the promise of life
everlasting, given in the resurrection of your Son Jesus
Christ our Lord. Amen.

Litany at the Time of Death

When possible, it is desirable that members of the family and friends
come together to join in the Litany.

God the Father,
Have mercy on your servant.

God the Son,
Have mercy on your servant.

God the Holy Spirit,
Have mercy on your servant.