The Middle East was braced for retaliation from Tehran after a suspected Israeli strike hit an Iranian consulate in Syria.