Barrier (5e Spell)
From D&D Wiki
|Casting time:||1 bonus action|
You send a protective barrier around a willing creature within range. The barrier has a number of hit points equal to 4d8 + your spellcasting modifier. Any time the targeted creature would take damage, the barrier takes damage instead. The barrier is immune to poison and psychic damage. While the barrier has more than 0 hit points, the targeted creature has a +2 bonus to armor class. If the damage reduces the barrier to 0 hit points, the creature takes the remaining damage.