A moderate earthquake measuring 4.1 on the Richter scale struck the Baramulla district in Jammu and Kashmir early Friday morning, according to the National Center for Seismology (NCS).