Psionic Ward (5e Spell)
From D&D Wiki
When you are targeted by a successful attack or spell that deals damage and are about to take damage, you use your reaction use your psychic energy to absorb the damage, up to an amount of 2d6+your spellcasting modifier. Any leftover damage is dealt to your HP.
When you cast this spell using a spell slot of 3nd level or higher, the damage absorbed by this spell increases by 1d6 for each slot level above 2nd.