Definition of hard time in English:

hard time

noun

US
slang
  • Time spent in prison, especially as part of a long sentence served for a serious crime; frequently in "to do (also serve) hard time".

Origin

Late 19th century; earliest use found in Burlington (Iowa) Hawk-eye.