Full Sharh — Mishkat al-Masabih 1061
وَعَنِ ابْنِ عُمَرَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " ثَلَاثَةٌ لَا تُقْبَلُ مِنْهُمْ صَلَاتُهُمْ: مَنْ تَقَدَّمَ قَوْمًا وَهُمْ لَهُ كَارِهُونَ وَرَجُلٌ أَتَى الصَّلَاةَ دِبَارًا وَالدِّبَارُ: أَنْ يَأْتِيَهَا بَعْدَ أَنْ تَفُوتَهُ وَرَجُلٌ اعْتَبَدَ مُحَرَّرَةً ". رَوَاهُ أَبُو دَاوُد وَابْن مَاجَه
English Translation
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 dibaran, 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.
Source
Mishkat al-Masabih(مشكاة المصابيح)
Prayer
Hadith Number
1061