Iran has banned an Egyptian television series, broadcast during Ramadan, for what it says is a distorted depiction of a medieval Persian figure.