"You are our brothers - we have no intention of entering into conflict with you," Pezeshkian said on X in a post marking the end of Ramadan.
Only Israel stands to benefit from any confrontation between Iran and its neighboring Muslim countries, the president added.
The US and Israel initially claimed their "preemptive" attack was necessary to counter the perceived threat coming from Iran's nuclear program, but they soon made it clear that they want to see a change of power in Iran.