A prisoner had taken out a contract on a rival behind bars days before he killed himself, an inquiry heard.
Paul Hamilton, 43, clashed with another inmate at Glasgow's Barlinnie jail and had been moved by authorities.
But he was later found to have hanged himself in his cell by guards and died in hospital.