In 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.
"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 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."
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.