Scripture-block application to this question
A very plain passage, restated several ways, that “the Spirit was given through the laying on of the apostles’ hands.” We read that they did it, then we read that Simon saw it, then we read Simon’s statement reiterating it.
!! scripture-block context extra important here !!
“Simon believed, and after being baptized he continued with Philip. And seeing signs and great miracles performed, he was amazed.” (vs 13) This means that before Simon ever saw the transference of miraculous gifts, he had traveled with Philip who himself had this gift. Importantly, he never saw Philip lay his hands on someone to transfer the gift.