A strong earthquake of magnitude 5.8 struck northwestern Iran on Friday, killing at least six people and injuring more than 300, according to Iranian state media.