Abu Hurairah reported,

They asked, "Messenger of Allah, what about someone who dies while still a child?"He replied, "Allah knows best what they would have done."

Bukhari 6600

Sahih

قالوا يا رسول الله أفرأيت من يموت وهو صغير قال الله أعلم بما كانوا عاملين

البخاري 6600صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Decree
Chapter
Allah knows best what they would have done
Numbering
Darussalam 6600
Bukhari 6600