Palestinians walk inside a tunnel used

Two Hamas militants died in separate tunnel collapses in the Gaza Strip overnight, the Palestinian Islamist group, which controls the territory, said on Friday.

Khalil al-Dimyati, 32, and Yusef Abu Abed, 22, were killed after two "resistance tunnels" collapsed, Hamas said, referring to tunnels used for military purposes.

It did not give details of the locations or causes of the collapses, but confirmed the two men were members of Hamas's armed wing.

A security source said one collapse was in Gaza City, while the other was near the city of Khan Yunis.

Hamas has run Gaza for a decade and fought three wars with Israel, which maintains a crippling blockade of the territory.

Hamas has built a network of tunnels inside Gaza, as well as some under the Israeli border.

During the last round of conflict in 2014 attack tunnels were one of Hamas's most effective weapons.

Other tunnels are used for smuggling from Egypt, although many have been destroyed by the Egyptian authorities in recent years.

Several dozen Hamas members have died in tunnel collapses in the past year.