Mishkat al-Masabih 1123
Ibn ‘Umar reported God’s Messenger as  saying, "There are three people whose prayer is not accepted:
one who goes in front of people when they do not like him, a man who comes to prayer dibar an, which means that he comes to it too late, and a man who takes into slavery an emancipated female slave.” 

Abu Dawud and Ibn Majah transmitted it.
وَعَنِ ابْنِ عُمَرَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: 
" ثَلَاثَةٌ لَا تُقْبَلُ مِنْهُمْ صَلَاتُهُمْ: مَنْ تَقَدَّمَ قَوْمًا وَهُمْ لَهُ كَارِهُونَ وَرَجُلٌ أَتَى الصَّلَاةَ دِبَارًا وَالدِّبَارُ: أَنْ يَأْتِيَهَا بَعْدَ أَنْ تَفُوتَهُ وَرَجُلٌ اعْتَبَدَ مُحَرَّرَةً ". رَوَاهُ أَبُو دَاوُد وَابْن مَاجَه