3e SRD:Spell Mastery
From D&D Wiki
|This material is published under the OGL|
Spell Mastery [Special]
Prerequisite: Spell Mastery is available only to wizards.
Benefit: Each time the wizard takes this feat, choose a number of spells equal to the wizard's Intelligence modifier (they must be spells that the wizard already knows). From that point on, the wizard can prepare those spells without referring to a spellbook.