TEL AVIV – Hamas has foiled a large-scale attack on Gaza government institutions, facilities, and officials that was planned by Islamic State loyalists, a senior official in the movement told Breitbart Jerusalem.

Ten jihadi activists from the southern Gaza Strip were arrested by Hamas last Tuesday, the last day of Ramadan, and admitted that they had pledged allegiance to IS leader Abu Bakr al-Baghdadi, the official disclosed.

Hamas police seized large sums of money and weapons that were presumably to be used against Hamas targets, the official said, predominantly the internal security department, which is in charge of imposing a ban on rocket fire.

Several Hamas officers have been accused of torturing the suspects.

The suspects allegedly admitted to having planned the attack independently of IS headquarters in Syria and Iraq, but were inspired by the organization and adhered to its ideology, the official said. Dozens of other jihadists who have gone underground are expected to be arrested over the coming days, as information on their whereabouts emerges from the investigation.

Last week, Breitbart Jerusalem reported that Hamas arrested six jihadists who returned from fighting for IS in Sinai.

The six, who returned to Gaza separately, were sent by IS’s Sinai franchise to review the feasibility of setting up an IS chapter in the Strip that would attempt to unify all currently active Salafi organizations under the banner of IS, a Hamas official said.

The Sinai has become one of the region’s top IS zones. Breitbart Jerusalem reported that, in the month of April alone, 12 jihadists departed Gaza to join the Islamic State in the Sinai.

The recruitment of Gazan jihadists by IS in Sinai comes after a top jihadist official threatened in a recent exclusive interview on “Aaron Klein Investigative Radio” that it is only a matter of time before the Islamic State’s branch in the Sinai carries out a “big operation” in the Israeli resort town of Eilat and other parts of southern Israel.

IS has also set its sights on countering Hamas in Gaza. Last year, Hamas engaged in deadly clashes with IS supporters who challenged Hamas rule.

Last July, the Information Bureau of the Aleppo Province, affiliated with IS, released a video entitled “A message to our folks in Jerusalem,” in which ISIS members originally from Gaza declared war on Israel and Hamas.

In the video, IS member and Gaza native Abu Azzam al-Ghazzawim delivered a strongly-worded warning to what he called the “tyrants of Hamas”:

“You are nothing in our reckoning. You, Fatah, and all the secularists, we count you as nothing. Allah willing, we shall uproot the state of the Jews. You are nothing but froth that will be gone as we move in. Allah willing, Gaza will be governed by Shariah despite you.”

Abu Qatadah al-Filistini, an IS member who leads a faction in Aleppo, Syria, made an appearance in the video and called on all “monotheists in Gaza to join the convoy of the Muhajidin and to join the State of the Caliphate.”

Abu Qatadah accused Hamas of “sliding gradually into apostasy, a slide that started with the demolition of the Ibn Taymiyah Mosque.”

“It is a movement that does not seek to govern according to Shariah but seeks to appease Iran and America, the heads of apostasy.”