Mass Death Ward (5e Spell)
From D&D Wiki
|Casting time:||1 action|
You grant several creatures a measure of protection against death.
Choose up to 8 creatures within range that you can see. The first time a target would drop to 0 hit points as a result of taking damage, that target instead drops to 1 hit point, and the spell ends for that creature.
If the spell is still in effect when a 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 for that creature.