A custody officer in Hampshire has suffered the partial loss of two fingers in an alleged attack at Southampton Crown Court.
Hampshire Constabulary said it was investigating but no arrests had been made.
A crowdfunding page has been set up to raise money for the officer in question, which has raised more than £1,500.
Neil Harmston, who set up the page, said that the alleged victim was returning a prisoner to his cell under restraint and the door was kicked shut on his hand.
He added it was a "particularly difficult time" as the officer's partner is due to give birth to their child.
GEOAmey, which provides prison escort and custody services in England, said: "We can confirm an incident occurred at Southampton Crown Court on May 15, in which a GEOAmey custody officer sustained serious injuries to his hand.
"The safety and security of our officers is of paramount importance and we will conduct a full investigation into the incident alongside Hampshire Police.”