At least five Palestinians were injured after Israeli warplanes carried out a fresh wave of airstrikes across the blockaded Gaza Strip on Monday, according to military sources.
Israel and Hamas later agreed to a ceasefire brokered by Egypt, a senior Palestinian official told Reuters.
The official, who was familiar with the Egyptian mediation but who spoke on condition of anonymity, said the truce went into effect at 2200 local time (2000 GMT).
"An agreement on a ceasefire was reached between Palestinian factions and Israel upon Egyptian mediation," the official said.
Hamas TV also reported that a ceasefire agreement had been reached.
However, rocket fire and airstrikes were heard in Gaza despite reports of the ceasefire. A Hamas leader said truce was at stake as Israeli army shelled four other areas.
The source in Gaza said Ismail Haniya's office was targeted in the strike on the office west of Gaza City, with eyewitnesses saying it was destroyed.
The army confirmed it had targeted his office.
Two other Hamas buildings had already been destroyed, the military said.
Palestinians heard two loud explosions in northern Gaza and reported that two Israeli drones were hovering over Gaza City.
Hospitals all over the coastal enclave declared a state of emergency.
Security officials in Gaza said that Israeli warplanes struck two Hamas military facilities and training compounds in north-west Gaza city, in the northern Gaza Strip.
Ambulances rushed to the scene. No injuries were reported after Gaza militants evacuated their posts and military compounds.
A security source in Gaza said there had so far been at least six strikes, including five in and around Gaza City and one in southern Gaza between Rafah and Khan Younis.
Earlier Monday, rocket-fire emanating from Gaza reportedly left seven Israelis injured.
In response, the Israeli army deployed Iron Dome missile-defense batteries in several locations across the country, according to local media reports.
The army also deployed two additional infantry brigades along the Gaza-Israel buffer zone -- while calling up fresh reservists from its air-defense units -- in the immediate wake of the rocket barrage.
Israel and Hamas have fought three wars, the latest in 2014 since the group seized the Gaza Strip from forces loyal to Palestinian President Mahmoud Abbas in 2007.
Violence has flared regularly along the Israel-Gaza border since Palestinians began protests on March 30 last year to demand rights to land lost to Israel in the 1948 war of its creation.
Israeli gunfire killed more than 220 Palestinians since the start of the demonstrations, which have included breaches of Israel's border fence.
Please click to read our informative text prepared pursuant to the Law on the Protection of Personal Data No. 6698 and to get information about the cookies used on our website in accordance with the relevant legislation.
6698 sayılı Kişisel Verilerin Korunması Kanunu uyarınca hazırlanmış aydınlatma metnimizi okumak ve sitemizde ilgili mevzuata uygun olarak kullanılan çerezlerle ilgili bilgi almak için lütfen tıklayınız.