Sahih Muslim #1298 · The Book of Marriage

Sahih Muslimta' b. Yasar reported that he had asked Zaid b. Thabit about recital along with the Imam
Sahih Muslim · Book 16 · The Book of Marriage
Sahih Muslim · كتاب 16 · كتاب النكاح
There should be no recital along with the Imam in anything, and alleged that he recited:" By the star when it sets" (Surah Najm) before the Messenger of Allah (ﷺ) and he did not prostrate himself.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، وَيَحْيَى بْنُ أَيُّوبَ، وَقُتَيْبَةُ بْنُ سَعِيدٍ، وَابْنُ، حُجْرٍ قَالَ يَحْيَى بْنُ يَحْيَى أَخْبَرَنَا وَقَالَ الآخَرُونَ، حَدَّثَنَا إِسْمَاعِيلُ، وَهُوَ ابْنُ جَعْفَرٍ عَنْ يَزِيدَ بْنِ خُصَيْفَةَ، عَنِ ابْنِ قُسَيْطٍ، عَنْ عَطَاءِ بْنِ يَسَارٍ، أَنَّهُ أَخْبَرَهُ أَنَّهُ، سَأَلَ زَيْدَ بْنَ ثَابِتٍ عَنِ الْقِرَاءَةِ، مَعَ الإِمَامِ فَقَالَ لاَ قِرَاءَةَ مَعَ الإِمَامِ فِي شَىْءٍ ‏.‏ وَزَعَمَ أَنَّهُ قَرَأَ عَلَى رَسُولِ اللَّهِ صلى الله عليه وسلم ‏{‏ وَالنَّجْمِ إِذَا هَوَى‏}‏ فَلَمْ يَسْجُدْ ‏.‏
Reference : Sahih Muslim 1298In-book reference : Book 5, Hadith 136