An earthquake of 4.2 magnitude was recorded in the Mahesana district of Gujarat on Friday night, the Institute of Seismological Research (ISR) said. While people came out of their houses after feeling the seismic movement, no casualty or loss of property was reported in the region, officials of the state control room in Gandhinagar said.