Ma'mar (may Allah have mercy on him) reports from Qatadah (may Allah have mercy on him), and he says: I know of him only that he attributed it to the Prophet, that he (peace and blessings be upon him) said: "There are three whose prayers do not go beyond their ears: a slave who has run away from his master until he comes back to his master; a woman whose husband spends the night angry with her; and an imam whom the people dislike."
It is also narrated from Abu Ghalib from Abu Umamah, but that is not strong.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5342