Mishkat al-Masabih 1122
وَعَنْ أَبِي أُمَامَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: ثَلَاثَةٌ لَا تُجَاوِزُ صَلَاتُهُمْ آذَانَهُمْ: الْعَبْدُ الْآبِقُ حَتَّى يَرْجِعَ وَامْرَأَةٌ بَاتَتْ وَزَوْجُهَا عَلَيْهَا سَاخِطٌ وَإِمَامُ قَوْمٍ وَهُمْ لَهُ كَارِهُونَ . رَوَاهُ التِّرْمِذِيُّ وَقَالَ: هَذَا حَدِيثٌ غَرِيبٌ
From Abu Umamah, who said: The Messenger of Allah ﷺ said: "Three whose prayer does not go beyond their ears: the runaway slave until he returns, a woman who spends the night while her husband is angry with her, and the imam of a people who dislike him." Reported by at-Tirmidhi, who said: This is a gharib hadith.