Magic Circle Against Good

(Player's Handbook v.3.5, p. 250)

Abjuration [Evil]
Level: Cleric 3, Sorcerer 3, Wizard 3, Divine Bard 3, Wu Jen 3, Sha'ir 3, Savant 3 (Divine), Death Master 3, Nar Demonbinder 4, Evil 3, Hades 3,

This spell functions like magic circle against evil, except that it is similar to protection from good instead of protection from evil, and it can imprison a nonevil called creature.