Esmail Ghaani
Esmail GhaaniReuters

Iran will do “whatever it takes” to help Hamas in its war with Israel, the commander of the Quds Force Esmail Ghaani said on Thursday, according to Al Arabiya.

Ghaani made the comments in a message to top Hamas commander Mohammed Deif.

“Your brothers in the resistance axis stand united with you and will not allow the enemy to reach its dirty goals in Gaza and Palestine,” Ghaani wrote to Deif, according to the report.

The “resistance axis” refers to a network of regional groups supported by Iran, including Hamas, Hezbollah, various militias in Iraq and Syria, and the Houthi militia in Yemen.

“We stand by our fraternal pledge that unites us and we assure you that we will do whatever it takes in this historic battle,” Ghaani added in the letter.

Ghaani was named in 2020 as head of the Quds Force, replacing Qassem Soleimani, who was eliminated in a US drone strike outside of Baghdad’s airport in Iraq.

The Quds Force is the foreign operations arm of Iran's powerful Islamic Revolutionary Guard Corps and is on the US list of "foreign terrorist organizations".

Ghaani’s letter to Deif comes one day after Reuters reported that Iranian Supreme Leader, Ayatollah Ali Khamenei, criticized Hamas leader Ismail Haniyeh for not giving sufficient advance warning of the October 7 attack on Israel and told him, “We are not intending to go to war with Israel for you.”

Hamas official Osama Hamdan later dismissed the report as “pure lies.”

A Wall Street Journal report after Hamas’ October 7 attack claimed that Iranian security officials helped plan the attack and gave the green light for the assault at a meeting in Beirut.

However, a senior Hamas official later denied that Iran helped the terrorist organization plan its surprise attack on Israel.

Khamenei also denied any Iranian involvement in the Hamas attack.

"The supporters of the Zionist regime (Israel) and some people in the usurping regime have been spreading rumors over the past two or three days, including that Islamic Iran was behind this action. They are wrong," Khamenei said in a speech at a military academy.

"Of course, we defend Palestine, we defend the struggles," he added, urging "the whole Islamic world" to "support the Palestinians."