A bloodied and groaning man has been wheeled out of court on a stretcher after being found guilty of murdering a female friend in her own home.