Touch of Idiocy(Player's Handbook v.3.5, p. 294)
Enchantment (Compulsion) [Mind-Affecting]
Level: Sorcerer 2, Wizard 2, Sha'ir 2, Death Master 2, Jester 2, Savant 2 (Arcane), Envy 3,
Components: V, S,
Casting Time: 1 standard action
Target: Living creature touched
Duration: 10 min./level
Saving Throw: No
Spell Resistance: Yes
With a touch, you reduce the target's mental faculties. Your successful melee touch attack applies a 1d6 penalty to the target's Intelligence, Wisdom, and Charisma scores. This penalty can't reduce any of these scores below 1.
This spell's effect may make it impossible for the target to cast some or all of its spells, if the requisite ability score drops below the minimum required to cast spells of that level.