فَإِنْ لَمْ يَحْضُرْ: فَيُسْتَحَبُّ تَقْدِيمُ إِمَامِ الْحَيِّ، ثُمَّ الْوَلِيِّ.
Translation: If he is absent, preferring the neighborhood imam is recommended, then the guardian.
Imām al-ḥayy is the recognized local imam; walī is the legally entitled guardian of the deceased. The author uses yustaḥabb, indicating recommended preference rather than making the order a pillar of the prayer.
Keep the levels of the rule distinct: priority of the ruler, recommended preference for the local imam in his absence, and then the guardian.