John 18:12-27 ESV
So the band of soldiers and their captain and the officers of the Jews arrested Jesus and bound him. First they led him to Annas, for he was the father-in-law of Caiaphas, who was high priest that year. It was Caiaphas who had advised the Jews that it would be expedient that one man should die for the people.
Simon Peter followed Jesus, and so did another disciple. Since that disciple was known to the high priest, he entered with Jesus into the courtyard of the high priest, but Peter stood outside at the door. So the other disciple, who was known to the high priest, went out and spoke to the servant girl who kept watch at the door, and brought Peter in. The servant girl at the door said to Peter, “You also are not one of this man’s disciples, are you?” He said, “I am not.” Now the servants and officers had made a charcoal fire, because it was cold, and they were standing and warming themselves. Peter also was with them, standing and warming himself.
The high priest then questioned Jesus about his disciples and his teaching. Jesus answered him, “I have spoken openly to the world. I have always taught in synagogues and in the temple, where all Jews come together. I have said nothing in secret. Why do you ask me? Ask those who have heard me what I said to them; they know what I said.” When he had said these things, one of the officers standing by struck Jesus with his hand, saying, “Is that how you answer the high priest?” Jesus answered him, “If what I said is wrong, bear witness about the wrong; but if what I said is right, why do you strike me?” Annas then sent him bound to Caiaphas the high priest.
Now Simon Peter was standing and warming himself. So they said to him, “You also are not one of his disciples, are you?” He denied it and said, “I am not.” One of the servants of the high priest, a relative of the man whose ear Peter had cut off, asked, “Did I not see you in the garden with him?” Peter again denied it, and at once a rooster crowed.
ESV: English Standard Version 2016