Sayyiduna Jarir bin Abdullah Bajali (may Allah be pleased with him) reports: The Messenger of Allah (peace and blessings be upon him) said: "When a slave reaches the land of war, that is, Dar al-Harb, his blood becomes lawful."
Related hadith on this topic