Sahih Muslim, Book 1, Hadith 136 (Muslim 227)

Jarir b. Abdullah reported it from the Holy Prophet:

When the slave runs away from his master, his prayer is not accepted.