5:18 They laid hands on the apostles and put them in a public jail.
Acts 5:21
5:21 When they heard this, they entered the temple courts at daybreak and began teaching.
Now when the high priest and those who were with him arrived, they summoned the Sanhedrin – that is, the whole high council of the Israelites – and sent to the jail to have the apostles brought before them.