The Hamas-run interior ministry has announced that two Palestinian males allegedly working with Israel have been executed in the Gaza Strip.
The individuals were not identified in the statement; it just provided their names and ages, but it said they had provided intelligence that had resulted in the deaths of Palestinians.
On the grounds of murder, three further people were also put to death.
Human rights groups have previously condemned such executions by Hamas – the militant group which runs Gaza.
Since 2007 when they asserted control over Gaza, the Hamas-run authorities have carried out at least 27 executions, most recently in April 2017.
The two men accused of spying for Israel were arrested in 2009 and 2015 and “convicted by a court of treason and conspiring with foreign parties”, the interior ministry statement said.
Security sources told the BBC that one of those executed was a Hamas policeman who used his weapon to kill his father-in-law and a 13-year-old girl after a family dispute last July.
The crime sparked protests in the Beit Lahia area, north of Gaza, during which houses and shops were burned.
Israel occupied the Gaza Strip during the 1967 Middle East war. In 2005, it withdrew its troops and some 7,000 settlers.