nice to hear from you again.
Is it a newborn baby that was born in Germany or did the child enter Germany with the mother?
If someone (like the mother) gets a residence permit, then family members (e.g. spouses and underage unmarried children) also get a residence permit.
If the child was born in Germany whilst one (or both) of the parents were still in the asylum procedure it gets its own procedure.
For further information check out my source from BAMF: http://www.bamf.de/EN/Fluechtlingsschutz/FamilienasylFamiliennachzug/familienasyl-familiennachzug-node.html