Spell Parry (3.5e Feat)
From D&D Wiki
Spell Parry [General, Fighter]
You use your magical weapon to nullify an incoming spell.
Prerequisite: Base Attack Bonus +10, Combat Expertise, Int 13, Weapon Focus, wielding a magic weapon.
Benefit: If you are the target of a spell or spell-like ability while you are not denied your Dexterity bonus to your armor class, then you may make a Spell Parry attempt. When you do so, make an attack roll using the magical weapon you selected for your weapon focus feat. If the attack roll is greater than or equal to the spell's DC then the spell is nullified.
Normal: You are unable to make a Spell Parry attempt.