Sayyiduna Jabir (may Allah be pleased with him) said: When a child cries out (at birth), the funeral prayer will be offered for him and he will be considered an heir.