pf2e.fyi
From Pathfinder Adventure: Night of the Gray Death, which isn't enabled.

Planar Eviction Trap

HAZARD 17
Stealth +32 (master)
Description An invisible magic rune emits a burst of psychic static and sends extraplanar creatures to Pharasma's realm.

Disable DC 42 Religion (master) or DC 42 Thievery (master) to discharge the glyph's power harmlessly, or Dispel Magic (8th rank; counteract DC 40) to counteract the glyph


Wracking Eviction (divine, incapacitation, mental, teleportation)
Trigger A creature that isn't openly wearing a religious symbol of Pharasma passes over the glyph at the midpoint of the landing

Effect The glyph flares and discharges its energy. Each creature within 30 feet of the glyph takes 8d12+24 mental damage and must attempt a DC 40 Will saving throw.

Critical Success The creature takes no damage.

Success The creature takes half damage and, if not on its home plane, is Stupefied 1 for 1 minute.

Failure The creature takes full damage and is stupefied 1 for 1 minute. If not on its home plane, the creature is sent to a random location in the Boneyard.

Critical Failure The creature takes double damage and is Stupefied 2 for 1 minute. If not on its home plane, the creature is sent to a random location in the Boneyard and can't return to the Material Plane until it receives permission to do so from a psychopomp of a higher level than the creature's level.

Pathfinder Adventure: Night of the Gray DeathOGL