Israeli commandos disguised as medical workers and Muslim women entered a hospital in the occupied West Bank and killed three Palestinian militants, one of them lying paralysed in bed, witnesses and authorities said.
The Israeli military said the three militants were killed in a joint undercover operation by the army, Shin Bet security service and border police in the Ibn Sina hospital in Jenin.
It identified one of the men as Mohammad Walid Jalamna, a Hamas member who, it said, was planning an attack inspired by the Hamas-led attack on Israel on 7 October and said a pistol had been recovered.
The military said the two others, the brothers Basel Al-Ghazzawi and Mohammad Al-Ghazzawi, belonged to the Jenin Brigade and the armed wing of Islamic Jihad.
The Palestinian health ministry confirmed the deaths and called on the United Nations to guarantee protection for health centres.
"The occupation is committing a new massacre inside hospitals," it said in a statement.
CCTV footage from the hospital showed a group of about 10 people, dressed variously in civilian clothes and medical garb and including three in headscarves and women's clothing, pacing through a corridor, armed with assault rifles and moving into the hospital.
Hours later, a bloodied blue hospital pillow pierced by a bullet remained on a bed.
"They executed the three men as they slept in the room," the hospital's director, Dr Naji Nazzal, told Reuters.
"They executed them in cold blood by firing bullets directly into their heads in the room where they were being treated," he said.
He said Basil Ayman Al-Ghazzawi had been receiving treatment since 25 October for a spinal injury which had paralysed him.
The Iranian-backed Islamic Jihad militant group said the Al-Ghazzawi brothers were members of its armed wing, while Hamas confirmed that Mr Jalamna belonged to its Al Qassam Brigade.
The Israeli military said the three had been hiding in the hospital and said it was "another example of the cynical use of civilian areas and hospitals as shelters and human shields by terrorist organisations".
Hamas has denied such allegations.
The operation in the early hours of the morning was the latest in a series of incidents in the West Bank, which has seen an increase of violence since the Hamas-led attack on Israel on 7 October and the subsequent invasion of Gaza by Israel.
Jenin, in the northern part of the West Bank, has witnessed some of the biggest clashes, with repeated Israeli attacks on the densely packed Palestinian refugee camp adjoining the city.
Thousands of mourners poured into the streets of the camp during the day as the three men killed in the raid were buried.