Babies can get a passport from day 1. Bring the local birth certificate to the consulate and get a passport. It may even be possible to get an emergency one (but I doubt many mother and kids are deemed able to travel internationally within the first 1-2 weeks)