Jarir bin Abdullah (May Allah be pleased with him) said:
The Prophet (ﷺ) said, "When the slave runs away from his master, his Salat (prayer) will not be accepted."[Muslim].Another narration is: "He is guilty of disbelief (i.e., in case he believes in the lawfulness of doing so)." (JA)
App reference (JA): Book 18, Hadith 259 (JA)
Arabic/English book reference (JA): Book 18, Hadith 1769 (JA)