The IDF Spokesperson’s Unit said that IDF fighter jets and aircraft targeted terror infrastructure in military compounds and a Hamas naval force military compound overnight Thursday, as part of a strike on a number of Hamas terror sites throughout the Gaza Strip.

The attack was carried out in retaliation to the rocket fire from Gaza towards southern Israel on Thursday evening.

"The IDF will continue operating against any attempt to harm Israeli civilians and holds Hamas responsible for all events transpiring within the Gaza Strip and emanating from it,” the IDF Spokesperson's Unit said in a statement.

The rocket that was fired on Thursday evening from Gaza hit the building of a hesder yeshiva in the city of Sderot.

There were no injuries but the building sustained damage.

Blue and White chairman Benny Gantz responded to the rocket attack and said, "When you occupy yourself with fishermen and the transfer of 'protection money' from Qatar, you're not solving the crisis in the Gaza envelope and you see the result in the field. So what do we do differently? First, attack with unprecedented force. Target the senior Hamas figures.”

"Afterward, we take advantage of the quiet for a diplomatic initiative with economic levers - water desalination and electricity projects and the employment of thousands of high-tech workers and laborers in Israel and Ramallah who will be dependent on the maintenance of quiet. Then we initiate a ceasefire with international mediation and don't allow Hamas to dictate it. We are obligated to do everything in order to restore the initiative to us and quiet to residents of the western Negev," added the former chief of staff.

Jewish Home chairman Rabbi Rafi Peretz said, "While they stir up the 'Deal of the Century' In the air-conditioned lounges, children are running fearfully to the bomb shelters in Sderot and the Gaza envelope. We're obligated to overturn this equation and transfer the fear to the other side, to the heads of the murderous Hamas, who disrupt our lives without being held accountable."