Dear student,
The magnetic meridian is an equivalent imaginary line connecting the magnetic south and north poles and can be taken as the horizontal component of magnetic force lines along the surface of the earth. Therefore, a compass needle will be parallel to the magnetic meridian.
Regards