It is narrated from al-Hasan (may Allah have mercy on him) that he (peace and blessings be upon him) said: "There are three people whose prayers do not rise beyond their heads: an imam whom the people dislike; a woman who spends the night while her husband is angry with her; and a slave who has run away from his master."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5340