Protection from Spells (5e Spell)
From D&D Wiki
|Casting time:||1 action|
|Components:||V, S, M (a diamond worth at least 500 gp, crushed and sprinkled on each target)|
You raise an aura of magical protection around a number of creatures you choose less than or equal to your spellcasting ability modifier (minimum 1). For the duration, each affected creature has advantage on saving throws against magic and magical effects, and has resistance against damage from magical sources.