Mexican immigration authorities could ask you to present both your passport and entry permit if applicable at any point and may detain you while they review your immigration status if you are not carrying your passport and proof of legal status in Mexico, or if you have overstayed your authorized stay.