It is narrated from Sayyiduna Jarir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "When a slave runs away and joins the enemy, and dies in that state, he dies a disbeliever."
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 2353