A prisoner pleaded no contest in the murder of his cellmate at the Macomb County Correction Facility in Lenox.