Allah's Messenger said: "There are three whose Salat would not rise up beyond their ears: The runaway slave until he returns, a woman who spends a night while her husband is angry with her, and a people's Imam whom they dislike."
Jami` at-Tirmidhi Book 2, Hadith 212