PHB: P. 230
Death Ward
4-level Abjuration
Casting Time: 1 action
Range/Area: Touch
Components: V, S
Duration: 8 hours
You touch a creature and grant it a measure of protection from death.
The first time the target would drop to 0 hit points as a result of taking damage, the target instead drops to 1 hit point, and the spell ends.
If the spell is still in effect when the target is subjected to an effect that would kill it instantaneously without dealing damage, that effect is instead negated against the target, and the spell ends.
Available for: Artificer (Alchemist), Cleric, Paladin