Shots were fired from the Gaza strip toward the border fence with Israel in the south of the territory Wednesday afternoon as an Israeli army patrol passed by, the military said.
There were no casualties and no damage was reported as a result of the gunfire.
Palestinian sources in Gaza claimed the IDF returned fire, attacking a Hamas post near the border. The army said troops shot back at the sources of fire but did not immediately have further information.
On Sunday night a rocket fired from Gaza failed to reach Israeli territory, the IDF said. In response Israeli tanks destroyed a Hamas lookout post in the central Strip, near the border fence. The would-be rocket strike was the first projectile fired from the coastal enclave in two months.
Hamas, the terror group that rules Gaza, has largely refrained from firing rockets into Israel since it fought a 50-day war with Israel in 2014. Launches have often been ascribed to radical Salafist groups.