Enemies of Iran should know these brave people are standing fearlessly in defence of their land and will respond to any stupidity with tact and intelligence," he wrote.
The Israeli military said its aircraft targeted facilities Iran used to make the missiles fired at Israel, as well as surface-to-air missile sites.
Iran's foreign ministry issued a statement saying it "considers itself entitled and obligated to defend against foreign acts of aggression".