Now for some time a man named Simon had practiced sorcery in the city and amazed all the people of Samaria. He boasted that he was someone great, and all the people, both high and low, gave him their attention and exclaimed, "This man is the divine power known as the Great Power." They followed him because he had amazed them for a long time with his magic. But when they believed Philip as he preached the good news of the kingdom of God and the name of Jesus Christ, they were baptized, both men and women. Simon himself believed and was baptized. And he followed Philip everywhere, astonished by the great signs and miracles he saw.
When the apostles in Jerusalem heard that Samaria had accepted the word of God, they sent Peter and John to them. When they arrived, they prayed for them that they might receive the Holy Spirit, because the Holy Spirit had not yet come upon any of them; they had simply been baptized in the name of the Lord Jesus. Then Peter and John placed their hands on them, and they received the Holy Spirit.
When Simon saw that the Spirit was given at the laying on of the apostles' hands, he offered them money and said, "Give me also this ability so that everyone on whom I lay my hands may receive the Holy Spirit."
Peter answered: "May your money perish with you, because you thought you could buy the gift of God with money! You have no part or share in this ministry, because your heart is not right before God. Repent of this wickedness and pray to the Lord. Perhaps he will forgive you for having such a thought in your heart. For I see that you are full of bitterness and captive to sin."
Then Simon answered, "Pray to the Lord for me so that nothing you have said may happen to me."
When they had testified and proclaimed the word of the Lord, Peter and John returned to Jerusalem, preaching the gospel in many Samaritan villages.