The process has recently been simplified. By air, flying into Guadalajara, officials no longer ask for the FMM form upon arrival into Mexico. Your friends, however, will be asked for the flight number, so they need to know that information and give it to the INM agent, who will then stamp and initial their passports upon the return.