Under the anti-defection law, an MP can lose their Lok Sabha membership for voting against their party's whip, with the final decision resting with the Speaker.