Escape from Internment Camp 371

Breakout from a Dominion prison asteroid

The escape in 2373 of Worf, Garak, Julian Bashir, General Martok and others from a Dominion prison camp on an asteroid in the Gamma Quadrant.

The escape from Internment Camp 371 is told in the Deep Space Nine episodes In Purgatory's Shadow and By Inferno's Light. Elim Garak picks up a coded signal from his old mentor Enabran Tain, and he and Worf follow it into the Gamma Quadrant, where the Jem'Hadar capture them.
In the camp they find Tain, who dies after admitting that Garak is his son, as well as the real General Martok and the real Julian Bashir. Bashir was taken weeks earlier, and a Changeling has been living in his place on the station.
Tain had built a transmitter inside a wall. Garak, struggling with claustrophobia, rewires it to signal their runabout. Worf buys time by fighting one Jem'Hadar after another in the ring until the First, Ikat'ika, gives up the match because he cannot defeat such an opponent. The prisoners, including a Breen and a Romulan, beam away and reach the wormhole.