Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:13614Abū Shuʿayb al-Ḥarrānī > Yaḥyá b. ʿAbdullāh al-Bābluttī > Ayyūb b. Nahīk > ʿAṭāʾ b. Abū Rabāḥ > Ibn ʿUmar

[Machine] I heard the Prophet ﷺ say, "There is no prayer for the one who enters the mosque while the imam is standing and praying. He should not pray individually, but rather enter with the imam in prayer."  

الطبراني:١٣٦١٤حَدَّثَنَا أَبُو شُعَيْبٍ الْحَرَّانِيُّ ثنا يَحْيَى بْنُ عَبْدِ اللهِ الْبَابْلُتِّيُّ ثنا أَيُّوبُ بْنُ نَهِيكٍ قَالَ سَمِعْتُ عَطَاءَ بْنَ أَبِي رَبَاحٍ يَقُولُ سَمِعْتُ ابْنَ عُمَرَ يَقُولُ

سَمِعْتُ النَّبِيَّ ﷺ يَقُولُ «لَا صَلَاةَ لِمَنْ دَخَلَ الْمَسْجِدَ وَالْإِمَامُ قَائِمٌ يُصَلِّي فَلَا يَنْفَرِدْ وَحْدَهُ بِصَلَاتِهِ وَلَكِنْ يَدْخُلُ مَعَ الْإِمَامِ فِي الصَّلَاةِ»  


See similar narrations below:

Collected by Suyūṭī
suyuti:25563a
Request/Fix translation

  

السيوطي:٢٥٥٦٣a

"لَا صَلاَةَ لِمَن دَخَلَ الْمَسْجِدَ وَالإِمَامُ قَائِمٌ يُصَلِّي فَلَا يَنفرِد وَحْدَهُ بِصَلاِتهِ، وَلَكِنْ يَدْخُلُ مَعَ الإِمَامِ في الصَّلَاةِ".  

[طب] الطبرانى في الكبير عن ابن عمر