Kfar Saba, Israel -- An early morning rocket fired from the Gaza Strip struck a house in central Israel on Monday, wounding seven people and prompting Prime Minister Benjamin Netanyahu to cut short a trip to Washington. The developments set the stage for a potential major conflagration, shortly before Israel's upcoming elections.

Israel's military responded by striking what it said was Hamas targets in the Gaza Strip. Speaking at the White House, Netanyahu said he would "not tolerate" the attack. Israel also shut down its main crossings into Gaza and imposed restrictions on fishing off the Gaza coast.

The attack destroyed a residential home in the community of Mishmeret, north of the city of Kfar Saba, wounding six members of the family. The Magen David Adom rescue service said it treated seven people overall, including two women who were moderately wounded. The others, including two children and an infant, had minor wounds.

Get Breaking News Delivered to Your Inbox

"It's a miracle that nobody got killed," said Assi Dvilanski, a Magen David Adom paramedic who was one of the first responders at the scene.

The sounds of air raid sirens jolted residents of the Sharon area, northeast of Tel Aviv, from their sleep shortly after 5 a.m., sending them scurrying to bomb shelters. A strong sound of an explosion followed. The Israeli military said it identified the rocket fired from the Gaza Strip.

The strike left a family home in Mishmeret in ruins, tiles and debris scattered all about. The family dog was killed in the explosion.

Israeli police and soldiers AT house that was hit by rocket in community of Mishmeret, north of city of Kfar Saba and north of Tel Aviv on March 25, 2019 AMMAR AWAD / REUTERS

Netanyahu held emergency consultations with military officials back in Israel and decided to cut his visit short, cancelling a planned address to the AIPAC conference and meetings with congressional leaders. The Israeli Foreign Ministry tweeted video from Mishmeret:

🔴🎥 FOOTAGE FROM THE SCENE where a rocket fired from #Gaza this morning hit a residential building in central Israel, north of Tel aviv. Several Israelis were injured. 🎥Dan Asulin pic.twitter.com/OCkXps9jOe — Israel Foreign Ministry (@IsraelMFA) March 25, 2019

More footage from @Mdais emergency responders who arrived at the seen to provide treatment to those injured by the rocket which was fired from #Gaza and hit a village in central Israel's Sharon region.pic.twitter.com/TicgzzKzHL — Israel Foreign Ministry (@IsraelMFA) March 25, 2019

Anticipating a strong Israeli response, Gaza's Hamas leaders apparently went underground. Witnesses reported seeing Hamas evacuating its personnel from government premises. Hamas also announced that its Gaza chief, Yehiya Sinwar, had canceled a scheduled public speech.

Monday's attack came 10 days after rockets were fired from Gaza toward Israel's densely populated commercial capital of Tel Aviv. The Israeli military at the time struck back and the sides appeared to be hurtling toward another confrontation. But Gaza's Hamas leaders said the rocket was fired accidentally and calm was quickly restored.

"We do not yet have a full understanding of who exactly ordered the firing of the rocket," said Eran Lerman, a former deputy director at Israel's National Security Council. "But clearly this is no longer something that can be explained away as a mistake or a technical failure."

The Israeli military put the blame squarely on Hamas:

We can confirm that #Hamas is responsible for firing a homemade rocket. It flew a distance of 75 miles across Israel and then destroyed this home: pic.twitter.com/nXytl8hcfl — Israel Defense Forces (@IDF) March 25, 2019

Separately, Hamas-affiliated prisoners stabbed an Israeli guard in the neck in southern Israel late Sunday. Israeli guards moved in to subdue the rioters, wounding about a dozen prisoners, three of them seriously. In a statement, Hamas called for an end to the crackdown.

Monday's attack also came days after President Trump tweeted that Israel should have full sovereignty over the long-disputed Golan Heights, which Israel seized from Syria during the 1967 Six-Day War.

There was no immediate claim of responsibility for Monday's attack, but it would seem to be much harder to dismiss the latest incident as another misfire.

Gaza is controlled by Hamas, an Islamic militant Palestinian group that seeks Israel's destruction and possesses a large arsenal of rockets and missiles capable of striking deep inside Israel. The territory is home to other Palestinian militant groups, including Islamic Jihad, an Iranian-backed armed organization that also has a formidable rocket arsenal.

Israel and Hamas are bitter enemies and have fought three wars since the group seized power in the strip in 2007. Smaller flare-ups have occurred sporadically since Israel and Hamas fought their last war in 2014; Israel says it holds Hamas responsible for all fire coming out of the coastal territory.

The outburst comes at a sensitive time for both sides. Israel is holding national elections in 15 days. Netanyahu, who also served as defense minister, is locked in a tight fight for re-election and has faced heavy criticism from his opponents for what they say has been an ineffective response to Gaza militants.

"The reality in which Hamas turned Israel into a hostage is unprecedented and unfathomable," his chief challenger, Benny Gantz, tweeted Monday.

Netanyahu has also come under attack from his own nationalistic camp.

"Israel's deterrence has collapsed, and it has to be said in all honesty Netanyahu has failed against Hamas," said Education Minister Naftali Bennett, head of the Yamin HeHadash faction in Netanyahu's coalition. "Netanyahu is a good prime minister but a failed defense minister."

In Gaza, Hamas has come under rare public criticism for the harsh conditions in the territory. An Israel-Egyptian blockade, combined with sanctions by the rival Palestinian Authority and mismanagement by the Hamas government have fueled an economic crisis. The territory's residents have little desire for another war with Israel.

Instead of a full-fledged conflict, Hamas has tried to end the blockade through a violent weekly protest movement along the Israel-Gaza border fence that it launched a year ago. It too has largely failed. About 190 Palestinians and an Israeli soldier have been killed during the weekly rallies.

Egypt, Qatar and United Nations are trying to broker a long-term truce between Israel and Hamas but that effort has yet to bring about an agreement. At the same time, there has been an uptick in violence in the West Bank over the past week, with a stabbing and shooting attack that left two Israelis dead near a West Bank settlement and Israel's killing of two Palestinians it said attacked troops.