Jareer bin Abdullah reported,

The Messenger of Allah ﷺ said, "Any slave who flees from his masters has committed an act of disbelief until he returns to them."In another wording, "Any slave who flees has lost the protection of the covenant."In yet another wording, "When a slave flees, no prayer of his is accepted."

Azami 6165

Sahih

عن جرير بن عبد الله البجلي قال

قال رسول الله ﷺ: أيما عبد أبق من مواليه فقد كفر حتى يرجع إليهم. وفي لفظ: أيما عبد أبق فقد برئت منه الذمة. وفي لفظ آخر: إذا أبق العبد لم تقبل له صلاة.

الأعظمي 6165صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Emancipation of slaves
Section
Severe warning regarding the runaway slave
Numbering
Jami al-Kamil 6165 (2nd edition)
Azami 6165