Green’s Dictionary of Slang

trib n.

[SE tribulation]

(UK Und.) a prison.

[UK]B.E. Dict. Canting Crew n.p.: Trib c. a Prison. He is in Trib, for Tribulation, c. he is layd by the Heels, or in a great deal of Trouble.
[UK]New Canting Dict. [as cit. c.1698].
[UK]Bailey Universal Etym. Eng. Dict. [as cit. c.1698].
[UK]Grose Classical Dict. of the Vulgar Tongue.
[UK]H.T. Potter New Dict. Cant (1795).
[UK]G. Andrewes Dict. Sl. and Cant.
[UK]Lex. Balatronicum.
[UK]Egan Grose’s Classical Dict. of the Vulgar Tongue.
[UK] ‘A Shove In The Mouth’ in Regular Thing, And No Mistake 61: Oh! remember the time, when Canary-bird you / I toddled to see you in trib.
[US]‘Jack Downing’ Andrew Jackson 148: If any one was suspected of not bein fully in his interest I guess they soon found ’emselves in trib.
[UK]Flash Dict. in Sinks of London Laid Open.
[US]Cornhusker in DN IV:ii 124: trib, from tribulation. A prison.