You create a ward against magical travel that protects up to 40,000 sq. ft. of floor space to 30' above. For the duration, creatures can't teleport into the area or use portals, and blocks the area against planar travel (preventing creatures from accessing the area via the Astral Plane, Ethereal Plane, Feywild, Shadowfell, or the plane shift
In addition, choose one or more: celestials, elementals, fey, fiends, and undead. Any chosen creature in the spell's area takes 5d10 radiant or necrotic dmg (your choice when casting). When cast, you can designate a password. A creature that speaks the password as it enters the area takes no dmg.
The spell's area can't overlap with the area of another forbiddance
spell. If you cast the spell every day for 30 days in the same location, the spell lasts until it's dispelled, and the material components are consumed on the last casting.
a sprinkling of holy water, rare incense, and powdered ruby worth at least 1,000gp