It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Holy Prophet (peace and blessings of Allah be upon him) was asked about the ruling concerning the children of polytheists who die in infancy. The Holy Prophet (peace and blessings of Allah be upon him) said: Allah knows best what deeds they would have done when they grew up.