Sayyiduna Jarir (may Allah be pleased with him) narrates from the Noble Prophet (peace and blessings of Allah be upon him) that he said: "When a slave runs away, none of his prayers are accepted until he returns to his masters."
Hadith Referenceصحيح ابن خزيمه / جماع أبواب الأفعال المكروهة فى الصلاة التى قد نهي عنها المصلي / 941