The Catechism in Questions & Answers

440. According to the New Testament, who dispensed the gift of the Holy Spirit?

From Acts 8: 15-18 it follows that the dispensation of the gift of the Holy Spirit is bound to the Apostle ministry: Philip preached in Samaria and baptised the believers with water. The Apostles heard about this and thus sent Peter and John there. These two men “prayed for them that they might receive the Holy Spirit. For as yet He had fallen upon none of them. They had only been baptised in the name of the Lord Jesus. Then they laid hands on them, and they received the Holy Spirit.”
This is underlined in Acts 19: 6: “And when Paul had laid hands on them, the Holy Spirit came upon them.”