When he had finished praying, Jesus left with his disciples and crossed the Kidron Valley. On the other side there was a garden, and he and his disciples went into it.
Now Judas, who betrayed him, knew the place, because Jesus had often met there with his disciples.
So Judas came to the garden, guiding a detachment of soldiers and some officials from the chief priests and the Pharisees. They were carrying torches, lanterns and weapons.
Jesus, knowing all that was going to happen to him, went out and asked them, “Who is it you want?”
“Jesus of Nazareth,” they replied. “I am he,” Jesus said. (And Judas the traitor was standing there with them.)
When Jesus said, “I am he,” they drew back and fell to the ground.
Again he asked them, “Who is it you want?”“Jesus of Nazareth,” they said.
Jesus answered, “I told you that I am he. If you are looking for me, then let these men go.”
This happened so that the words he had spoken would be fulfilled: “I have not lost one of those you gave me.”
Then Simon Peter, who had a sword, drew it and struck the high priest’s servant, cutting off his right ear. (The servant’s name was Malchus.)
Jesus commanded Peter, “Put your sword away! Shall I not drink the cup the Father has given me?”
References for John 18:11