O Lord our God, who in thine ineffable wisdom hast created man, fashioning him out of the dust, and adorning him with comeliness and goodness, as an honourable and heavenly acquisition, to the exaltation and magnificence of thy glory and kingdom, that thou mightest bring him into this image and likeness; but forasmuch as he sinned against the command of thy statute, having accepted the image but preserved it not, and because, also, evil shall not be eternal: Thou hast ordained remission unto the same, through thy love toward mankind; and that this destructible bond, which as the God of our fathers thou hadst sanctified by thy divine elements of which it was fashioned, but that this soul should be translated to that place where it shall take up its abode until the final Resurrection. Therefore we pray unto thee, the Father who is from everlasting, and immortal, and unto thine Only-begotten Son, and unto thine all-holy Spirit, that thou wilt deliver N. from the body unto repose, entreating, also, forgiveness of thine ineffeable goodness if he (she) in any wise, whether of knowledge or in ignorance, hath offended thy goodness, or is under the ban of a priest, or hath embittered his (her) parents, or hath broken a vow, or hath fallen into devilish imaginations and shameful sorceries, through the malice of the crafty demon: Yea, O Master, Lord our God, hearken unto me a sinner and thine unworthy servant in this hour, and deliver thy servant, N., from this intolerable sickeness which holdeth him (her) in bitter impotency, and give him (her) rest where the souls of the righteous dwell. For thou art the repose of our souls and of our bodies, and unto thee do we ascribe glory, to the Father, and to the Son, and to the Holy Spirit, now, and ever, and unto ages of ages. Amen.
The above is one prayer from Hapgood under "Office at the Parting of the Soul from the Body". If you have access to it, you should check it for more prayers and a canon, but just in case, I decided to type this one out.