A magnitude 5.9 earthquake hit western Iran on Sunday, injuring at least 25 people, hours after two quakes struck Hormozgan province in the south, state television reported.