Observation of the Faraday effect via beam deflection in a longitudinal magnetic field