A magnitude-5.1 earthquake hit Oklahoma in the United States at a depth of 6 kilometers late on Friday night, according to the U.S. Geological Survey.