Sphere Of Warding

Abjuration
Level: Cleric */Oracle * 5, Inquisitor * 4, Warlock * 5
Components: V, S, DF
Casting Time: 1 Standard Action
Range: touch
Effect: 10-ft.-radius sphere emanating from point touched
Duration: 1 hour/level
Saving Throw: Will negates, see text
Spell Resistance: yes
  You create a luminescent sphere of orbiting energy that harms Incorporeal creatures and dispossesses them of any stolen bodies. An Incorporeal creature must succeed at a Will Save to enter a space overlapping with the sphere; failure means the creature cannot pass through the sphere, as though it were a wall of force. If the Incorporeal creature succeeds, it may pass through the sphere at will, though if it ends its turn within the sphere, it takes a number of points of force damage equal to 1d6 + 1 per Caster Level (maximum +10).
  If a creature possessing another creature's body (via either magic jar or a similar effect) enters a sphere of warding, that creature is immediately ejected from its host body, the host's spirit returns to its body if it's able, and the possession immediately ends. When ejected, the body enters the sphere, while the possessing creature takes the appropriate amount of force damage (no save) and is shunted to the exterior of the sphere.