It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "There are three people whose prayer Allah does not accept: the imam of a people who dislike him, a woman who spends the night while her husband is angry with her, and two brothers who have cut off relations with each other."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12223