In Acts 8, a man named Simon, known in Samaria as “The Great One” or “The Great Power” believed and was baptized. When Peter and John arrived, they realized these new converts in Samaria did not receive the Holy Spirit. So they laid hands on people and they received the Holy Spirit.
Simon desperately wanted this power and offered to purchase this gift, much to Peter’s chagrin. Peter chastised Simon the Sorcerer and encouraged him to:
“Repent of this wickedness and pray to the Lord in the hope that he may forgive you for having such a thought in your heart” Acts 8:22 NIV
Simon asked Peter to pray to the Lord for him.
That’s it. That’s all we know, biblically, about Simon the Sorcerer. There are further legends about Simon that are worth reading and researching. It’s interesting.