Iran’s Islamic Revolutionary Guard Corps said Wednesday that the Hamas terror group’s devastating attack on Israel was in revenge for the 2020 assassination of IRGC Quds Force head Qassem Soleimani in a US drone strike.

IRGC spokesman Ramazan Sharif tied the October 7 massacres to Soleimani in remarks he made about the killing of another top officer earlier this week in an airstrike Iran has blamed on Israel. Brig. Gen. Razi Mousavi, who was close to Soleimani, was killed in a strike on his home in Damascus on Monday.

Mousavi was responsible for coordinating the military alliance between Iran and Syria and was believed by Israel to have been heavily involved in Tehran’s efforts to supply weapons to terror proxies in the area, including Lebanon’s Hezbollah terror group.

He also said the IRGC is “well aware” of the reasons Israel killed Mousavi in Damascus but asserted that the assassination would not hinder its campaign “against the Zionist entity.”

“We will respond accordingly, directly or indirectly through the resistance axis,” he threatened. The IRGC further called the assassination an “act of terror” and vowed the response “will be decisive at the right time and place.”

However, Hamas swiftly denied the Iranian claim and reiterated that it attacked Israel over what it described as “the dangers threatening the Al-Aqsa Mosque,” referring to the key Islamic site on the Temple Mount in the Old City of Jerusalem.