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)|
|Duration:||Concentration, up to 1 hour|
Target a number of creatures up to, but not exceeding your casting ability modifier. The targets must all be within 5 feet of you at the time of casting. For the duration, the target or targets have advantage on saving throws against magic and magical effects.