Mishkat al-Masabih 1123
وَعَنِ ابْنِ عُمَرَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: ثَلَاثَةٌ لَا تُقْبَلُ مِنْهُمْ صَلَاتُهُمْ: مَنْ تَقَدَّمَ قَوْمًا وَهُمْ لَهُ كَارِهُونَ وَرَجُلٌ أَتَى الصَّلَاةَ دِبَارًا وَالدِّبَارُ: أَنْ يَأْتِيَهَا بَعْدَ أَنْ تَفُوتَهُ وَرَجُلٌ اعْتَبَدَ مُحَرَّرَةً . رَوَاهُ أَبُو دَاوُد وَابْن مَاجَه
From Ibn ʿUmar, who said: The Messenger of Allah ﷺ said: "Three from whom their prayer is not accepted: one who goes in front of a people who dislike him; a man who comes to the prayer dibar" — and dibar is that he comes to it after it has passed him — "and a man who enslaves a freed woman." Reported by Abu Dawud and Ibn Majah.