The Iranian president says conflicts between Tehran and Muslim countries will only be beneficial to the Israeli regime.