Simon Peter and another disciple were following Jesus. Because this disciple was known to the high priest,1 he went with Jesus into the high priest's courtyard,2
References for John 18:15
but Peter had to wait outside at the door. The other disciple, who was known to the high priest, came back, spoke to the girl on duty there and brought Peter in.