Green’s Dictionary of Slang

HMP n.

[the legal phr. ‘detained at Her Majesty’s Pleasure’]

prison, time in prison.

[UK]A. Close Official and Doubtful 54: A couple had done HMP.