There is not Bible scripture requiring Christians to attend church. However the following is among scripture that ceremony developed from.
Luk 22:17 And when He had taken a cup and given thanks, He said, “Take this and share it among yourselves; for I say to you, I will not drink of the fruit of the vine from now on until the kingdom of God comes.” And when He had taken some bread and given thanks, He broke it and gave it to them, saying, “This is My body, which is being given for you; do this in remembrance of Me.” And in the same way He took the cup after they had eaten, saying, “This cup, which is poured out for you, is the new covenant in My blood.
Mar 14:22 While they were eating, He took some bread, and after a blessing He broke it, and gave it to them, and said, “Take it; this is My body.” And when He had taken a cup and given thanks, He gave it to them, and they all drank from it. And He said to them, “This is My blood of the covenant, which is being poured out for many.
Mat 26:26 Now while they were eating, Jesus took some bread, and after a blessing, He broke it and gave it to the disciples, and said, “Take, eat; this is My body.” And when He had taken a cup and given thanks, He gave it to them, saying, “Drink from it, all of you; for this is My blood of the covenant, which is being poured out for many for forgiveness of sins.
Act 2:41 So then, those who had received his word were baptized; and that day there were added about three thousand souls. They were continually devoting themselves to the apostles’ teaching and to fellowship, to the breaking of bread and to prayer.