Contradiction with Luke 23:11
In Luke, it is recorded that Herod and his soldiers mocked Jesus in a resplendent robe, rather than the Roman soldiers mentioned in Matthew 27:27.
Luke 23:11: And Herod with his men of war set him at nought, and mocked [him], and arrayed him in a gorgeous robe, and sent him again to Pilate.
Contradiction with Mark 15:16
Contradiction arises as Mark refers to the place as 'Praetorium' where the soldiers led Jesus, similar to Matthew, yet with differences in narrative details.
Mark 15:16: And the soldiers led him away into the hall, called Praetorium; and they call together the whole band. [Praetorium: or, the palace, or, hall of audience]
Contradiction with John 19:2
This verse emphasizes the crowning with thorns as the primary act of mockery, which can contrast with the sequence and emphasis presented in Matthew 27:27.
John 19:2: And the soldiers platted a crown of thorns, and put [it] on his head, and they put on him a purple robe,
Contradiction with Matthew 27:35
While Matthew 27:27 describes the mocking, this later verse in Matthew addresses the crucifixion, bringing a different aspect of the Passion narrative, which offers a broader scene than just the soldiers' mockery.
Matthew 27:35: And they crucified him, and parted his garments, casting lots: that it might be fulfilled which was spoken by the prophet, They parted my garments among them, and upon my vesture did they cast lots.