An earthquake of 5.6 magnitude on Richter Scale hit GrindavĂ­k in Iceland on Wednesday, the US Geological Survey stated.