Abandoned baby goes to foster home