Misdirection(Player's Handbook v.3.5, p. 254)
Level: Bard 2, Urban Druid 2, Jester 2, Death Master 2, Sha'ir 2, Wu Jen 2, Thayan Slaver 2, Beguiler 2, Vigilante 2, Wizard 2, Sorcerer 2, Court Herald 2, Slayer of Domiel 3, Ebonmar Infiltrator 3,
Components: V, S,
Casting Time: 1 standard action
Range: Close (25 ft. + 5 ft./2 levels)
Target: One creature or object, up to a 10-ft. cube in size
Duration: 1 hour/level
Saving Throw: None or Will negates; see text
Spell Resistance: No
By means of this spell, you misdirect the information from divination spells that reveal auras (detect evil, detect magic, discern lies, and the like).
On casting the spell, you choose another object within range.
For the duration of the spell, the subject of misdirection is detected as if it were the other object.
(Neither the subject nor the other object gets a saving throw against this effect).
Detection spells provide information based on the second object rather than on the actual target of the detection unless the caster of the detection succeeds on a Will save.
For instance, you could make yourself detect as a tree if one were within range at casting: not evil, not lying, not magical, neutral in alignment, and so forth.
This spell does not affect other types of divination magic (augury, detect thoughts, clairaudience/clairvoyance, and the like).