Simon magus

noun a Samaritan sorcerer converted by the apostle Philip and severely rebuked by Peter for offering money for the gifts of the Holy Spirit

Merriam-Webster's Collegiate Dictionary