Anas bin Malik reported,

There was a young Jewish boy who used to serve the Prophet ﷺ. He fell ill, so the Prophet ﷺ went to visit him and sat by his head.The Prophet ﷺ said to him, "Accept Islam."The boy looked at his father, who was beside him, and his father said to him, "Obey Abu Qasim ﷺ."So the boy embraced Islam, and the Prophet ﷺ left saying, "Praise be to Allah, who has saved him from the Fire."

Azami 3770

Sahih

عن أنس قال

كان غلام يهودي يخدم النبي ﷺ فمرض، فأتاه النبي ﷺ يعوده، فقعد عند رأسه فقال له: أسلم فنظر إلى أبيه وهو عنده فقال له: أطع أبا القاسم ﷺ فأسلم، فخرج النبي ﷺ وهو يقول: الحمد لله الذي أنقذه من النار.

الأعظمي 3770صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Children of Muslims and polytheists
Section
Presenting Islam to the child upon death
Numbering
Jami al-Kamil 3770 (2nd edition)
Azami 3770