If baptism is required for salvation, then why did the gift of the Holy Spirit come to the Gentiles in Act 10:44-48 before they were baptized?
Please read the answers to Question 1, Question 9, and Question 20. The coming of the Holy Spirit upon Cornelius’ household was a sign to the Jews that God had granted salvation to the Gentiles:
Acts 10:44-48 While Peter yet spake these words, the Holy Ghost fell on all them which heard the word. 45 And they of the circumcision which believed were astonished, as many as came with Peter, because that on the Gentiles also was poured out the gift of the Holy Ghost. 46 For they heard them speak with tongues, and magnify God. Then answered Peter, 47 Can any man forbid water, that these should not be baptized, which have received the Holy Ghost as well as we? 48 And he commanded them to be baptized in the name of the Lord. Then prayed they him to tarry certain days.
Notice that the Jews were astonished by the sign, that Peter used the sign as a basis for baptizing Gentiles, and that Peter commanded them to be baptized in the name of the Lord. This was the baptism of Acts 2:38 based upon which those baptized received “the gift of the Holy Spirit.”
Look also at Acts 11:14-15. Verse 14 tells us that Cornelius would hear words whereby he and his household would be saved, and verse 15 tells us that the Holy Spirit fell on them as Peter began to speak. So the Holy Spirit fell on them before they heard the words whereby they would be saved, and certainly before they could obey whatever Peter told them to do. So we know that the Holy Spirit fell on them prior to their salvation.
So why then did the Holy Spirit fall on them? It was not for their benefit but for Peter's! Look at Acts 11:16-17. When Peter saw the Holy Spirit fall on the Gentiles he was reminded of something Jesus had said, and he knew that the gospel was for the Gentiles as well as for the Jews. Look also at Acts 10:45.
And what did Peter tell them to do whereby they would be saved? Look at Acts 10:48.
You Must Hear the Gospel
You must hear the gospel and then understand and recognize that you are lost without Jesus Christ no matter who you are and no matter what your background is. The Bible tells us that “all have sinned, and come short of the glory of God.” (Romans 3:23) Before you can be saved, you must understand that you are lost and that the only way to be saved is by obedience to the gospel of Jesus Christ. (2 Thessalonians 1:8) Jesus said, “I am the way, the truth, and the life: no man cometh unto the Father, but by me.” (John 14:6) “Neither is there salvation in any other: for there is none other name under heaven given among men, whereby we must be saved.” (Acts 4:12) "So then faith cometh by hearing, and hearing by the word of God." (Romans 10:17)
You Must Believe
You must believe and have faith in God because “without faith it is impossible to please him: for he that cometh to God must believe that he is, and that he is a rewarder of them that diligently seek him.” (Hebrews 11:6) But neither belief alone nor faith alone is sufficient to save. (James 2:19; James 2:24; Matthew 7:21)
You Must Repent
You must repent of your sins. (Acts 3:19) But repentance alone is not enough. The so-called “Sinner’s Prayer” that you hear so much about today from denominational preachers does not appear anywhere in the Bible. Indeed, nowhere in the Bible was anyone ever told to pray the “Sinner’s Prayer” to be saved. By contrast, there are numerous examples showing that prayer alone does not save. Saul, for example, prayed following his meeting with Jesus on the road to Damascus (Acts 9:11), but Saul was still in his sins when Ananias met him three days later (Acts 22:16). Cornelius prayed to God always, and yet there was something else he needed to do to be saved (Acts 10:2, 6, 33, 48). If prayer alone did not save Saul or Cornelius, prayer alone will not save you. You must obey the gospel. (2 Thess. 1:8)
You Must Confess
You must confess that Jesus Christ is the Son of God. (Romans 10:9-10) Note that you do NOT need to make Jesus “Lord of your life.” Why? Because Jesus is already Lord of your life whether or not you have obeyed his gospel. Indeed, we obey him, not to make him Lord, but because he already is Lord. (Acts 2:36) Also, no one in the Bible was ever told to just “accept Jesus as your personal savior.” We must confess that Jesus is the Son of God, but, as with faith and repentance, confession alone does not save. (Matthew 7:21)
You Must Be Baptized
Having believed, repented, and confessed that Jesus is the Son of God, you must be baptized for the remission of your sins. (Acts 2:38) It is at this point (and not before) that your sins are forgiven. (Acts 22:16) It is impossible to proclaim the gospel of Jesus Christ without teaching the absolute necessity of baptism for salvation. (Acts 8:35-36; Romans 6:3-4; 1 Peter 3:21) Anyone who responds to the question in Acts 2:37 with an answer that contradicts Acts 2:38 is NOT proclaiming the gospel of Jesus Christ!
You Must Be Faithful Unto Death
Once you are saved, God adds you to his church and writes your name in the Book of Life. (Acts 2:47; Philippians 4:3) To continue in God’s grace, you must continue to serve God faithfully until death. Unless they remain faithful, those who are in God’s grace will fall from grace, and those whose names are in the Book of Life will have their names blotted out of that book. (Revelation 2:10; Revelation 3:5; Galatians 5:4)