Jarir reported the prophet (ﷺ) as saying:
When a slave runs away and reverts to polytheism, he may lawfully be killed.