A Hamas field commander was killed on Thursday morning when the Israel Defense Forces opened fire on two armed men approaching the northern Gaza border fence, according to Palestinian media.

“A member of a resistance force was hit by occupation fire,” Palestinian media reported, identifying him as a commander in Hamas’s armed wing.

According to media sources in Gaza, the man was shot in the leg and later died of his wounds.

Palestinian Wafa news identified him as 28-year-old Mahmud Ahmad Sabri al-Adham.

Hamas said in a statement that the death would not go “unpunished,” and that Israel “would bear the consequences of this criminal act.”

In a separate incident, Israeli soldiers reportedly fired at a Hamas observation post east of Rafah on Thursday, according to Hamas-affiliated Shehab news. No injuries were reported.