SRINAGAR, Kashmir — Five members of a family were killed and two others were wounded by shelling in the Indian-controlled portion of Kashmir on Sunday, residents and officials said.

Over the weekend, India and Pakistan were engaged in cross-border shelling along the Line of Control, which divides Kashmir between the two countries. Indian officials said Pakistani troops had fired a mortar shell that hit the family’s home.

A couple and their children were gathered for breakfast on Sunday morning when the shell tore through the roof of their home in the southern Poonch region of Kashmir.

“When we heard the blasts, we ran for our lives,” Ghulam Nissar Khan, a neighbor, said by telephone. “After the hue and cry fizzled out, we rushed to the house and found the bodies.”