Egyptian President Abdel Fattah al-Sisi called for regional de-escalation on Thursday during a meeting in Cairo with Iranian Foreign Minister Abbas Araghchi.
A statement by the Egyptian Presidency said that the meeting dwelt on current developments in the Middle East region.
Sisi reiterated Egypt's position to avoid expanding the conflict into an all-out regional war "that will have dangerous consequences" for all countries of the region.
He also called for pursuing international efforts to reach a cease-fire in Gaza and Lebanon and halt Israeli assaults in the occupied West Bank.
Araghchi arrived in Cairo late Wednesday from Jordan amid diplomatic efforts to prevent any Israeli attack on Iran amid ongoing tensions.
Iran is on high alert in anticipation of an Israeli military response to the Oct. 1 missile attack by Tehran, which said the attack was in retaliation for the recent assassinations of Hezbollah and Hamas leaders.
Israel has threatened a "lethal, precise, and especially surprising" retaliatory attack against Iran.
Regional tensions have escalated due to Israel's brutal offensive on the Gaza Strip, which has killed more than 42,400 people, mostly women and children, following a Hamas attack last year.
The conflict has spread to Lebanon, with Israel launching deadly strikes across the country, which have killed more than 1,500 people and injured over 4,500 others since last month.