An Israeli air strike on a Gaza base of Hamas's military wing killed two Palestinian militants on Saturday, the territory's Islamist rulers said.
The strike on a base in Nusseirat in the central Gaza Strip, one of several in the early hours, came amid protests across the Palestinian territories against US President Donald Trump's controversial recognition of Jerusalem as Israel's capital.
The Hamas-run health ministry in Gaza named the men as Mahmud al-Atal, 28 and Mohammed al-Safdi, 30.
It said that their bodies were recovered only several hours after the pre-dawn strike on a base of Hamas's military wing in Nusseirat in the central Gaza Strip.
Hamas said the two men were members of its armed wing, which has fought three wars with Israel since 2008.
Thousands of people meanwhile attended the funeral of a man killed in clashes on the Gaza-Israel border on Friday, with mourners calling for revenge.
The air strikes followed three rocket attacks on Friday night from Gaza into southern Israel.
"Today... in response to the rockets fired at southern Israeli communities throughout yesterday, Israel air force aircraft targeted four facilities belonging to the Hamas terror organisation in the Gaza Strip," an English-language Israeli army statement said.
It said the targets were "two weapons manufacturing sites, a weapons warehouse and a military compound."
"In each target, several components were hit," it added.
Israeli strikes on Hamas facilities on Friday night wounded 14 people, among them women and children, the Hamas medical services said.
They followed three rocket attacks during Friday's Palestinian "day of rage" over Trump's decision.
In one of them, a rocket hit the southern Israeli city of Sderot, although Israeli public radio said it did not explode and did not cause any casualties.
The Israeli military said that its Iron Dome air defence system intercepted an earlier rocket fired from the Palestinian enclave.
It said it later detected a second missile launch, but had not found evidence that it had reached Israeli territory.
The military retaliated on Friday with air strikes on what it said were two targets.
"In response to the projectiles fired at Israel from the Gaza Strip earlier today, Israel air force aircraft targeted a Hamas training compound and an ammunition warehouse in the Gaza Strip," a statement said.
Gaza security officials said that both targets were in the vicinity of Beit Lahiya, in the northern part of the strip, close to the border with Israel.
A previously unknown Salafist group calling itself the Salahedin Brigades claimed responsibility for one of the attacks.
But the Israeli army said it held Hamas responsible for all "hostile activity" originating from the territory under its control.