A 46-year-old death row inmate in Oklahoma had his life spared just minutes before he was set to receive a lethal injection.