Two variations.
for the living
Almighty God, whose mercy embraces all those who despair: grant us the grace to be Your hands and Your heart to those among us who suffer, that they may receive Your consolation in this life, and find rest in Your endless embrace. We ask this through Jesus Christ our Lord, who lives and reigns with You and the Holy Spirit, one God, world without end. Amen.
in memorial
Merciful God, may all those who died in despair find a lasting consolation in your endless embrace, so that they may find in You the rest they could not find in this life. We ask this through Jesus Christ our Lord, who first harrowed hell for our sake and destroyed death, and who lives and reigns with You and the Holy Spirit, one God, world without end. Amen.