The IDF identified on Wednesday a sniper squad belonging to the terror group Islamic Jihad, which fired from the area outside the Gazan city of Khan Yunis at the soldiers, an IDF spokesman reported.
The IDF fired back at the sniper squad, at which point they retreated.
There were no casualties among the soldiers.
Palestinian sources said one militant was lightly injured during the exchange.