A preliminary 3.5-magnitude earthquake rattled Fontana Saturday afternoon, according to the United States Geological Survey.