Sunan Ibn Majah, Book 5, Hadith 1023 (In-Book)

It was narrated that ‘Abdullah bin ‘Amr said: “The Messenger of Allah said: ‘There are three whose prayer are not accepted: A man who leads people while they do not like him; a man who does not come to prayer until its end – meaning after its time has expired – and one who enslaves a freed person.’”

حَدَّثَنَا أَبُو كُرَيْبٍ، حَدَّثَنَا عَبْدَةُ بْنُ سُلَيْمَانَ، وَجَعْفَرُ بْنُ عَوْنٍ، عَنِ الإِفْرِيقِيِّ، عَنْ عِمْرَانَ بْنِ عَبْدٍ، عَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ ثَلاَثَةٌ لاَ تُقْبَلُ لَهُمْ صَلاَةٌ الرَّجُلُ يَؤُمُّ الْقَوْمَ وَهُمْ لَهُ كَارِهُونَ وَالرَّجُلُ لاَ يَأْتِي الصَّلاَةَ إِلاَّ دِبَارًا - يَعْنِي بَعْدَ مَا يَفُوتُهُ الْوَقْتُ - وَمَنِ اعْتَبَدَ مُحَرَّرًا ‏" ‏ ‏.‏

sunnah.com