Wal-lażīna āmanū wattaba‘athum żurriyyatuhum bi'īmānin alḥaqnā bihim żurriyyatahum wa mā alatnāhum min ‘amalihim min syai'(in), kullumri'im bimā kasaba rahīn(un).
And those who believed and whose descendants followed them in faith - We will join with them their descendants, and We will not deprive them of anything of their deeds.[1554] Every person, for what he earned, is retained.[1555]
[1554] i.e., the reward thereof.
[1555] i.e., subject or held responsible. Literally, "a hostage."
And those who brought faith and whose children followed them in faith - I will join their children with them so that they are pleased with them, even though they did not reach their actions. And I will not decrease anything from the reward of their actions. Every person will be held for the bad actions he earned; nobody else will bear any of his actions.
Al-Mukhtasar in Interpreting the Noble Quran, Tafsir Center for Quranic Studies, via QuranEnc.com.