At least three men wearing dark clothes and balaclavas attacked a prison van in Manchester and threatened staff transporting the prisoners with a shotgun, police said.
The men arrived at the scene in a dark coloured Saab and freed prisoners Ryan MacDonald, 20, and Stevie McMullen, 31, Greater Manchester Police said.
The five men then got back into the car and drove a short distance before abandoning it.
Police believe they ran towards Phoebe Street in the Ordsall estate and that two possibly then rode a motorbike found abandoned on Thurlow Street.
More top news
A police raid uncovered what is believed to be cocaine that had been stashed in nappies, and 40 cannabis plants.
The prince attended the rugby match in his role as patron of the Invictus Games Foundation, the official charity for this year's game.
The prime minister pitched her comments firmly towards unionists in her first campaign visit to Scotland ahead of the general election.