Matthew 14:10

10 and had John beheaded in the prison.

Read Matthew 14:10 Using Other Translations

And he sent, and beheaded John in the prison.
He sent and had John beheaded in the prison,
So John was beheaded in the prison,