In the NES game Zebu teaches the spell to you right after Mt. Saber. In fact every spell you learn are taught by the 4 wisemen.
In the remake though I decided that there would be no wisemen at all. Therefore since Misae can draw the powers of the spirits to craft swords, I decided she could also draw the powers of certain enemies to learn magic spells ^^