It's when MPs are told how they must vote by the leadership. It's enforced by the Whips - who are like prefects - hence whip. It's a three line whip because it's so important they do as they are told that in the written notice it's underlined three times.
What exactly is a three line whip?