Brihat Parashara Hora Shastra
केचित् स्वारिष्ट्योगाच्च त्रिविधा बालमृत्यवः । ततः परं नृणामायुर्गणयेद् द्विजसत्तम ॥ १४॥
and through medical treatments, for premature death may descend on the child due to sins of father and mother, or of its own (in the previous birth).
english translation
kecit svAriSTyogAcca trividhA bAlamRtyavaH । tataH paraM nRNAmAyurgaNayed dvijasattama ॥ 14॥
hk transliteration by Sanscript