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

Sahih Muslim Book 1, Hadith 136