Anas bin Malik reported,

A Jewish boy used to serve the Prophet ﷺ. He fell ill, so the Prophet ﷺ went to visit him. He sat by his head and 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 he embraced Islam, and the Prophet ﷺ went out saying, "Praise be to Allah who has saved him from the Fire."

Bukhari 1356

Sahih

حدثنا سليمان بن حرب حدثنا حماد وهو ابن زيد عن ثابت

عن أنس رضي الله عنه قال

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

البخاري 1356صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Funerals
Chapter
If a boy accepts Islam and dies, should the funeral prayer be prayed for him, and should Islam be offered to the boy
Numbering
Darussalam 1356
Bukhari 1356