Found in Matthew 26:51-56, Mark 14:47-52, Luke 22:49-53 and John 18:10-11
They who were about him (his disciples) saw what would follow.
The disciples (to Jesus): Lord, shall we smite them with the sword?
Then Simon Peter having a sword drew it and struck the high priest’s servant and cut off his right ear. The servant’s name was Malchus.
Jesus (to Peter): Put up your sword into the sheath (Matthew adds “for all they that take the sword shall perish with the sword” – vs 26:52): shall I not drink the cup which my Father has given me? (Luke adds “Suffer thus far.” – vs 22:51)
And Jesus touched his ear, and healed him.
Jesus (to Peter): Do you think that I cannot now pray to my Father, and he shall presently give me more than twelve legions of angels? But then how shall the scriptures be fulfilled, that say it must be thus?
Jesus (in that same hour, to the multitudes): Are you come out as against a thief with swords and staves to take me? I sat daily with you teaching in the temple, and you did not lay hold on me. But (this is your hour, and the power of darkness – Luke 22:33) all this was done, that the scriptures of the prophets might be fulfilled. Then (the band and the captain and officers of the Jews took him, and bound him and – John 18:12) all the disciples forsook him, and fled.
And there followed him a certain young man, having a linen cloth cast about his naked body; and the young men laid hold on him: And he left the linen cloth, and fled from them naked.