Hamas called on Iran to refrain from targeting neighboring countries, while affirming Tehran’s right to defend itself.