A magnitude 5.8 earthquake hit in the vicinity of Iran’s Qeshm island in the Gulf, the Fars news agency reported on Sunday.