FM stands for Fouling Mark.
FM is present where two railway tracks join at a point. It marks the line beyond which a train taking one of the diverging routes from the point, should completely pass (both ends of the train should cross that mark) so that there is no risk of collision with a train taking the other diverging route.