An earthquake of magnitude 5.2 on Richter scale occurred in the north Garo Hills in Meghalaya on Monday.