This was made known through a 16-minute long video shared by social media accounts sympathetic to ISIL on Wednesday.
Fighters based in Syria's Aleppo province condemned Hamas for its crackdown on Salafist groups in the Gaza Strip, and its failure to implement a rigid enough interpretation of Islamic law.
"The point of jihad is not to liberate land ... but jihad as defined by God, is fighting for and implementing the law of God," said one masked fighter who appeared in the video, who further condemned Hamas for its dealings with Iran and Lebanese Shia movement Hezbollah, as well as "nationalist", "secularist", and "communist" factions.
"They raise their children to respect this (Palestinian) flag," the fighter said, telling Palestinians that Hamas could not secure their freedom.
"The road to liberate Palestine goes through Iraq and we (ISIL) are getting closer, day by day ... while they (Hamas) are moving away from that goal."
RELATED: 17 People killed, dozens wounded as Houtis attacks Southern port city of Aden with rockets
The fighter later refers to ISIL's seizure of parts of the Yarmouk refugee camp in the Syrian capital of Damascus after clashes with Palestinian groups, including a faction associated with Hamas.
"What is happening today in Syria, especially in the Yarmouk camp, we swear by God, will happen in Gaza," the fighter said.
"The point of jihad is not to liberate land ... but jihad as defined by God, is fighting for and implementing the law of God," said one masked fighter who appeared in the video, who further condemned Hamas for its dealings with Iran and Lebanese Shia movement Hezbollah, as well as "nationalist", "secularist", and "communist" factions.
"They raise their children to respect this (Palestinian) flag," the fighter said, telling Palestinians that Hamas could not secure their freedom.
"The road to liberate Palestine goes through Iraq and we (ISIL) are getting closer, day by day ... while they (Hamas) are moving away from that goal."
RELATED: 17 People killed, dozens wounded as Houtis attacks Southern port city of Aden with rockets
Another fighter condemned the Palestinian faction for referring to ISIL and its supporters as "khawarij", a term used to refer to a group of Muslims in early Islamic history, meaning "those who have transgressed".
The fighter later refers to ISIL's seizure of parts of the Yarmouk refugee camp in the Syrian capital of Damascus after clashes with Palestinian groups, including a faction associated with Hamas.
"What is happening today in Syria, especially in the Yarmouk camp, we swear by God, will happen in Gaza," the fighter said.