Acts 8:14-17

14 Now when the apostles at Jerusalem heard that Samaria had accepted the word of God, they sent Peter and John to them.
15 The two went down and prayed for them that they might receive the Holy Spirit
16 (for as yet the Spirit had not come upon any of them; they had only been baptized in the name of the Lord Jesus).
17 Then Peter and John laid their hands on them, and they received the Holy Spirit.

Acts 8:14-17 In-Context

12 But when they believed Philip, who was proclaiming the good news about the kingdom of God and the name of Jesus Christ, they were baptized, both men and women.
13 Even Simon himself believed. After being baptized, he stayed constantly with Philip and was amazed when he saw the signs and great miracles that took place.
14 Now when the apostles at Jerusalem heard that Samaria had accepted the word of God, they sent Peter and John to them.
15 The two went down and prayed for them that they might receive the Holy Spirit
16 (for as yet the Spirit had not come upon any of them; they had only been baptized in the name of the Lord Jesus).
17 Then Peter and John laid their hands on them, and they received the Holy Spirit.
18 Now when Simon saw that the Spirit was given through the laying on of the apostles' hands, he offered them money,
19 saying, "Give me also this power so that anyone on whom I lay my hands may receive the Holy Spirit."

Footnotes 2

New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.