A Palestinian security official says several people were wounded during an Israeli raid to arrest a Hamas leader in the northern West Bank.

The official said a local leader of the militant Islamic group and his brother were arrested late Monday night in Jenin.

Israeli soldiers surrounded a house and came under fire from Palestinian gunmen. Five Palestinians were wounded and taken to hospital, he said.

Soldiers also tried to arrest a member of the Islamic Jihad group but couldn't find him, he said.

He spoke anonymously as he is not allowed to brief the media.

The Israeli military said there had been an exchange of gunfire but would not elaborate further.

A decade ago, Jenin was a militant stronghold but the Palestinian government mostly gained control in recent years.