l have, a few times, not since 1978 though. My worse experience was in a Spanish enclave of North Africa, Mellilla. Mellilla is surrounded by Morocco, and has an ancient castle over 1,000 years old, the prison is in the old gunpowder stores. We lived in casemates, with solid brick walls, 12ft thick. Most inmates were Moroccan, with a few Spanish, and maybe half a dozen other foreigners on average.
There were about a dozen bunk beds in each casemate, riddled with bed bugs. The place was overrun with cats that were there to keep the rats down. l had to buy water as the tap water was alive!
l guess one of the worst parts was the Moroccan's habit of fucking each other in the bottom bunk while you were trying to sleep on the top.
l was only there for five months, they then let me buy my way out for US$5,000, a lot of money in 1978.