Earth Barrier (5e Spell)
From D&D Wiki
|Casting time:||1 reaction, which you take when you are hit by an attack|
You call forth a pillar of earth and stone in an unoccupied, 5-foot cube within range when you would be hit by an attack. The barrier is immobile and has an AC of 10 and 27 hit points.
The barrier can act as total cover to creatures adjacent to it. If this cover causes the attack to miss, the barrier takes the damage instead.