And the Messenger of Allah, peace and blessings be upon him, said: "Every child is born upon the fitrah (the upright religion), then his parents make him a Jew or a Christian. Just as among your cattle, a young one is born—do you find any among them with a cut ear? Rather, you yourselves cut its ear." The noble Companions, may Allah be pleased with them, asked: O Messenger of Allah! Tell us about the children who die in childhood. The Messenger of Allah, peace and blessings be upon him, said: "Allah knows best what they would have done."
Hadith Referenceصحيفه همام بن منبه / متفرق / 67
Hadith Takhrij«صحيح بخاري، كتاب القدر، باب الله أعلم بما كانوا عاملين، رقم: 6599، حدثنا إسحاق: أخبرنا عبدالرزاق: أخبرنا معمر عن همام عن أبى هريرة قال: قال رسول الله صلى الله عليه وسلم .... - صحيح مسلم، كتاب القدر، باب معنى كل مولود يولد على الفطرة، رقم: 2658/22، حدثنا محمد بن رافع: حدثنا عبدالرزاق: حدثنا معمر عن همام بن منبه، قال: هذا ما حدثنا أبو هريرة عن رسول الله صلى الله عليه وسلم، فذكر أحاديث منها: وقال رسول الله صلى الله عليه وسلم .... - مسند أحمد: 69/16، رقم: 68/8164 - شرح السنة: 154/1، باب أطفال المشركين، رقم: 84.»