An Israeli airstrike destroyed a home belonging to a Hamas militant in the northern Gaza Strip late Saturday night, wounding two bystanders, Palestinian officials and witnesses said.

The officials said the occupants of the home were ordered to leave about an hour before the airstrike. Two men who were walking in the area were wounded, one lightly and one moderately, medical officials said.

The Israeli army said the airstrike targeted a weapons-storage facility. It confirmed that residents of the building were warned ahead of the attack.

Israel has carried out a number of airstrikes against suspected weapons facilities in Gaza in recent weeks, ordering occupants to leave ahead of time. It says the warnings are meant to avoid civilian casualties.