Stabilization of planar premixed flame front on a lattice (porous) burner is considered. It is rigorously mathematically proved that there exist two different stabilization regimes: one with flame front located nearby the surface of the burner, and another with flame front located inside the lattice. These two regimes result in qualitatively different gas temperature profiles along the flow, that is monotonic and non-monotonic, respectively. Boundary between the two regimes is described in terms of dependence of the lattice solid material temperature on flow Peclet number. Likewise temperature profiles, such dependencies may be both monotonic and non-monotonic. Transition between the two types of dependencies is controlled by Arrhenius number. Conclusions of the study are supported by numerical analysis. They also compare favourably with available experimental data. Novelty of the present approach is fundamentally rigorous analytical analysis of the problem.