At the festival the governor's custom was to release to the crowd a prisoner they wanted.
References for Matthew 27:15
At that time they had a notorious prisoner called Barabbas.
References for Matthew 27:16
So when they had gathered together, Pilate said to them, "Who is it you want me to release for you-Barabbas, or Jesus who is called Messiah?"
References for Matthew 27:17
For he knew they had handed Him over because of envy.
While he was sitting on the judge's bench, his wife sent word to him, "Have nothing to do with that righteous man, for today I've suffered terribly in a dream because of Him!"
The chief priests and the elders, however, persuaded the crowds to ask for Barabbas and to execute Jesus.
The governor asked them, "Which of the two do you want me to release for you?" "Barabbas!" they answered.
Pilate asked them, "What should I do then with Jesus, who is called Messiah?" They all answered, "Crucify Him!"
References for Matthew 27:22
Then he said, "Why? What has He done wrong?" But they kept shouting, "Crucify Him!" all the more.
When Pilate saw that he was getting nowhere, but that a riot was starting instead, he took some water, washed his hands in front of the crowd, and said, "I am innocent of this man's blood. See to it yourselves!"
References for Matthew 27:24
All the people answered, "His blood be on us and on our children!"
Then he released Barabbas to them. But after having Jesus flogged, he handed Him over to be crucified.
References for Matthew 27:26