Abu Hurairah (RA) reported the Messenger of Allah (peace be upon him) as saying: Every child is born on Islam, but his parents make him a Jew and a Christian, just as a beast is born whole. Do you find some among them (born) maimed? The people asked : Messenger of Allah! What do you think about the one who died while he was young? He replied: Allah knows best what he was going to do.
Sunan Abi Dawud, Book 42, Hadith 119