* Putin speaks to Iranian President Raisi

* Putin says: all sides must show restraint

* Putin warns: a new confrontation could be catastrophic

* Putin says Palestinian-Israeli conflict needs to be solved

* Raisi: we do not want to escalate after strikes on Israel

MOSCOW, April 16 (Reuters) -

Russian President Vladimir Putin on Tuesday urged all sides in the Middle East to refrain from action that would trigger a new confrontation which he warned would be fraught with catastrophic consequences for the region, the Kremlin said.

Putin, who has forged much closer ties with the Islamic Republic since sending troops into Ukraine in 2022, spoke to Iranian President Ebrahim Raisi by phone about what the Kremlin called "retaliatory measures taken by Iran."

Iran launched drones and missiles at Israel late on Saturday in retaliation for an Israeli strike on its Damascus consulate on April 1 that killed seven officers of the Islamic Revolutionary Guard Corps, including two senior commanders.

Putin, in his first publicly aired comments on Iran's attack, said that the root cause of the current instability in the Middle East was the unresolved conflict between Palestinians and Israel.

"Vladimir Putin expressed hope that all sides would show reasonable restraint and prevent a new round of confrontation fraught with catastrophic consequences for the entire region," the Kremlin said.

"Ebrahim Raisi noted that Iran's actions were forced and limited in nature," the Kremlin said. "At the same time, he stressed Tehran's disinterest in further escalation of tensions."

Russia, which has forged close ties both with Supreme Leader Ayatollah Ali Khamenei and Arab leaders such as Saudi Crown Prince Mohammed bin Salman, has repeatedly scolded the West for ignoring the need for an independent Palestinian state within 1967 borders.

"Both sides stated that the root cause of the current events in the Middle East is the unresolved Palestinian-Israeli conflict," the Kremlin said of the call with Raisi.

"In this regard, the principled approaches of Russia and Iran in favour of an immediate ceasefire in the Gaza Strip, easing the difficult humanitarian situation, and creating conditions for a political and diplomatic settlement of the crisis were confirmed."

Putin, who

in 2022 visited Khamenei

, congratulated Raisi and all Muslims on the end of the holy month of Ramadan.

Top U.S. generals say the growing partnerships between Russia, China, Iran and North Korea pose one of the most dangerous challenges to the United States in the past four decades.

Iran has provided Russia with a large number of powerful surface-to-surface

ballistic missiles

and drones that Moscow has used in Ukraine. (Reporting by Reuters; Writing by Guy Faulconbridge Editing by Andrew Osborn)