JERUSALEM (AP) _ Islamic militants ambushed an Israeli military vehicle in the West Bank town of Hebron today, spraying it with bullets and wounding an Israeli soldier.

The military wing of the Muslim fundamentalist group Hamas claimed responsibility for the attack in a leaflet circulated in Hebron. Hamas, which opposes the Israel-PLO peace agreement, threatened more attacks.

A Palestinian policeman, meanwhile, died of a gunshot wound in a Gaza City hospital. Palestinian reports said the 24-year-old policeman from Egypt was playing with his gun when he was shot.

But Dr. Sami Abdeen at Shifa Hospital questioned that account because of the bullet's angle of entry into the policeman's left shoulder. It was the first fatality in the line of duty since autonomy began in Gaza a month ago.

Israel radio said the policeman's Kalashnikov went off during a joint patrol near the Jewish settlement Netzarim, but also carried the army's explanation that the shooting was accidental.

In the Hebron shooting, Islamic militants in a car ambushed an Israeli military vehicle belonging to the Shin Bet intelligence service, puncturing it with bullets. One soldier suffered light shrapnel wounds, the army said.

The army declared the site of the attack, near a mosque in downtown Hebron, a closed military area. The city has been tense since Feb. 25, when an Israeli settler shot and killed 30 Palestinians at prayer in the Tomb of the Patriarch.