According to Islam men are rewarded in the after life according to their true faith and righteous deeds in this life. Then what about a child that died before accumulating any reward to its credit?