Matthew 27:26 New Revised Standard Version Catholic Edition (NRSVCE)
26 So he released Barabbas for them; and after flogging Jesus, he handed him over to be crucified.
Luke 23:6-22 New Revised Standard Version Catholic Edition (NRSVCE)
Jesus before Herod
6 When Pilate heard this, he asked whether the man was a Galilean. 7 And when he learned that he was under Herod’s jurisdiction, he sent him off to Herod, who was himself in Jerusalem at that time. 8 When Herod saw Jesus, he was very glad, for he had been wanting to see him for a long time, because he had heard about him and was hoping to see him perform some sign. 9 He questioned him at some length, but Jesus[a] gave him no answer. 10 The chief priests and the scribes stood by, vehemently accusing him. 11 Even Herod with his soldiers treated him with contempt and mocked him; then he put an elegant robe on him, and sent him back to Pilate. 12 That same day Herod and Pilate became friends with each other; before this they had been enemies.
Jesus Sentenced to Death
13 Pilate then called together the chief priests, the leaders, and the people, 14 and said to them, “You brought me this man as one who was perverting the people; and here I have examined him in your presence and have not found this man guilty of any of your charges against him. 15 Neither has Herod, for he sent him back to us. Indeed, he has done nothing to deserve death. 16 I will therefore have him flogged and release him.”[b]
18 Then they all shouted out together, “Away with this fellow! Release Barabbas for us!” 19 (This was a man who had been put in prison for an insurrection that had taken place in the city, and for murder.) 20 Pilate, wanting to release Jesus, addressed them again; 21 but they kept shouting, “Crucify, crucify him!” 22 A third time he said to them, “Why, what evil has he done? I have found in him no ground for the sentence of death; I will therefore have him flogged and then release him.”