A 5-year-old boy and his 28-year-old mother inside their rowhouse were wounded in a drive-by shooting Thursday night in the city’s Harrowgate section, police said.

The shooting happened shortly after 8:30 p.m. on the 1800 block of East Venango Street, said Chief Inspector Scott Small.

At least 28 shots were fired from a silver sedan that slowed in front of the house, Small said. It appears the boy and his mother were hit by the same bullet, which came through the lower frame of a first-floor living-room window. The victims were lying on a bed in the living room when they were hit.

The child, who was shot — possibly grazed — in the left forearm, was transported by medics to St. Christopher’s Hospital for Children, Small said. The mother, who was shot in the right thigh, was taken by police to Temple University Hospital. Both victims were listed in stable condition. Another adult and a juvenile also in the home were not injured.

The drive-by shooting was captured on surveillance video and shows two people firing guns from the passenger-side windows and another person on the other side of the car reaching over the roof possibly firing a gun, Small said.

Another bullet struck the victims’ home, but at least five more hit the neighboring rowhouse, Small said. Three bullets went through a a window and into a ceiling. There was a family inside that house but no one was hurt.

The sedan was last seen heading east on Venango, Small said.