فَإِنْ سَهَا الْمُؤْتَمُّ لَمْ يَلْزَمِ الْإِمَامَ وَلَا الْمُؤْتَمَّ السُّجُودُ.
Translation: If the follower alone lapses, neither the imam nor the follower has to perform prostrations on account of that lapse.
This concerns a lapse while following the imam. It does not impose compensatory prostrations on the congregation.
When a latecomer later completes missed rakahs individually, errors in that separate portion are governed by distinct rules.