Anti-Evil-Protection (5e Spell)
From D&D Wiki
|1st-level Abjuration (ritual)|
|Casting time:||1 action|
|Duration:||Concentration, up to 10 minute|
Creates an 30 feet cube magical barrier. Creatures with an CR of 1 or less that have an evil alignment can't pass through that barrier for the duration of the spell, however, they can attack it.
When the barrier is attacked, you must make a saving throw for the spellcasting modifier used in casting this spell. The DC is either 10, or equal to half the damage dealt to cause this, whatever is higher. On a failure, this spell ends.