Reflect Spell (5e Spell)
From D&D Wiki
|Casting time:||1 reaction, which you take when you are targeted by a line spell or spell attack roll.|
|Components:||S*, M (A metal shield)|
You bring up your shield as it shines like a mirror. Any spell cast at you of 4th level or lower is reflected back at the caster. If the caster had cast a spell of 5th level or higher, make an ability check using your spellcasting ability. The DC equals 10 + the spell’s level. On a success, you reflect the spell. If the spell required an attack roll, make a spell attack roll. If the spell required a saving throw, the caster makes the required save against your spell save DC. If there were any other creatures that were struck by the line spell before hitting you, they must repeat the saving throw, against your spell save DC.
At Higher Levels. When you cast this spell using a spell slot of 5th level or higher, the blocked spell is reflected if its level is less than or equal to the level of the spell slot you used.