Foreign ministry warns against Israel's retaliatory measures