It happened at a home located in Shelby, North Carolina, which is less than an hour west of Charlotte.
Investigators said there was some sort of altercation outside the house just before the shots were fired.
One of those bullets came through the wall of the home and hit the baby, who was in bed being held by her mother..
"I started hearing more gunshots so I got on the ground. I got on the ground quick and then, I heard a car take off," neighbor Dorian Allen said in an interview with the local ABC station. "I seen the mother come outside with the baby and they was all crying. I heard the baby crying and it really about made me cry because I got a baby."
7-year-old NC boy shot, killed while riding in car with mom, younger brothers
The young girl had a bullet lodged into one of her lungs. She remains in the hospital undergoing treatment.
SEE ALSO: 4-year-old girl shot in drive-by while sleeping inside her Wake County home
Police are still investigating what happened, but they said there is no evidence that the baby's family was involved or even knew the shooter.