Majdi Mohammed, Associated Press
A Palestinian youth covers his face with a scarf with an image of Palestinian Cabinet minister Ziad Abu Ain following a prayer for Abu Ain, who collapsed shortly after a protest on Dec. 10, in the West Bank village of Turmus Aya near Ramallah, Friday, Dec. 19, 2014. The Israeli military says it has carried out an airstrike on a Hamas site in Gaza, its first strike on the Palestinian territory since this summer's war.

JERUSALEM — The Israeli military says it has carried out an airstrike on a Hamas site in Gaza, its first strike on the Palestinian territory since this summer's war.

The military says the airstrike early Saturday on what it called a "Hamas terror infrastructure site" in the southern Gaza Strip was in response to a rocket fired from Gaza into southern Israel on Friday. The rocket fire caused no injuries, police said.

Residents reported hearing two explosions in the Khan Yunis region of Gaza, in an area that contains training sites for Palestinian militants. No injuries were immediately reported.

Israel and Hamas, the Palestinian militant group that rules Gaza, fought a 50-day war this summer. Hamas militants launched thousands of rockets and mortars into Israel, which responded with airstrikes and a ground invasion.