An Israeli airstrike on a funeral in the central Gaza Strip killed at least seven people and wounded 22 on Friday, while separate attacks across the besieged coastal territory left five others dead, according to local health officials.

The Israeli military said it had targeted a base belonging to the Palestinian Islamic Jihad group, adding that it was aware civilians may have been harmed in the strike.

The Awda Hospital in the Nuseirat refugee camp said the casualties occurred during the funeral of a Palestinian who had been killed in an earlier Israeli strike on Friday. That earlier attack killed two people. The Israeli military said it had targeted a Hamas member but provided no further details.

Elsewhere in Gaza, Israeli strikes and gunfire killed five more people Friday, including two women, in northern Gaza, Gaza City and Khan Younis, according to local health officials.

Hamas, the Palestinian group that has been at odds with Israel, called the strike on the funeral "a heinous crime."