Acts 8:9-25 NASB
Now there was a man named Simon, who formerly was practicing magic in the city and astonishing the people of Samaria, claiming to be someone great; and they all, from smallest to greatest, were giving attention to him, saying, “This man is what is called the Great Power of God.” And they were giving him attention because he had for a long time astonished them with his magic arts. But when they believed Philip preaching the good news about the kingdom of God and the name of Jesus Christ, they were being baptized, men and women alike. Even Simon himself believed; and after being baptized, he continued on with Philip, and as he observed signs and great miracles taking place, he was constantly amazed.
Now when the apostles in Jerusalem heard that Samaria had received the word of God, they sent them Peter and John, who came down and prayed for them that they might receive the Holy Spirit. For He had not yet fallen upon any of them; they had simply been baptized in the name of the Lord Jesus. Then they began laying their hands on them, and they were receiving the Holy Spirit. Now when Simon saw that the Spirit was bestowed through the laying on of the apostles’ hands, he offered them money, saying, “Give this authority to me as well, so that everyone on whom I lay my hands may receive the Holy Spirit.” But Peter said to him, “May your silver perish with you, because you thought you could obtain the gift of God with money! You have no part or portion in this matter, for your heart is not right before God. Therefore repent of this wickedness of yours, and pray the Lord that, if possible, the intention of your heart may be forgiven you. For I see that you are in the gall of bitterness and in the bondage of iniquity.” But Simon answered and said, “Pray to the Lord for me yourselves, so that nothing of what you have said may come upon me.”
So, when they had solemnly testified and spoken the word of the Lord, they started back to Jerusalem, and were preaching the gospel to many villages of the Samaritans.
NASB: New American Standard Bible