Upvote:2
The airline agents collect the form from all foreign passengers at the gate for the international leg. My experience is that they look at the card when you check in and attach it to your international boarding pass, but they don't actually collect it until you get on the plane to leave Mexico.