Hamas training camp in Khan Younis
Hamas training camp in Khan YounisAbed Rahim Khatib/Flash 90

A Palestinian affiliated with Hamas died on Sunday after apparently blowing himself up by accident in "unclear circumstances," medical and security sources said.

The body of 25-year-old Amir Hamad al-Zaharani was brought to the Shifa Hospital in Gaza City early on Sunday after an explosion, a medical source said.

Three others wounded by shrapnel were being treated, he added.

The Al-Qassam Brigades, the military wing of the Hamas terror organization which controls Gaza, confirmed in a statement that Zaharani was a member.

The group said Zaharani, who came from Sheikh Radwan in northern Gaza, died "as a result of an error with a weapon."

A security source in Gaza told AFP that according to preliminary information the death was caused by an "accidental explosion" of a
rocket-propelled grenade.

Since coming to power in Gaza in 2005, Hamas has instigated three terror wars with Israel. 

AFP contributed to this report.