Five Israeli soldiers were killed and seven others injured by errant Israeli tank fire in the Jabalia refugee camp in the northern Gaza Strip.
The Israel Defence Forces (IDF) made this known in a statement on Thursday.
The casualties were with a force that entered Gaza City and seized buildings as part of a resumed attack on the refugee camp.
Two IDF tanks, positioned several dozen meters away, apparently spotted a gun in a window of one of the buildings and fired two shells towards the target.
The army said it was investigating why the soldiers were misidentified as Palestinian militants.
A total of 626 soldiers have been killed in Hamasโ October 7 attack and Israelโs ensuing attacks on Gaza, according to the IDF tally.