وَلَا الْمُكْتَسِي خَلْفَ الْعُرْيَانِ.
Meaning: A person possessing proper covering does not pray behind an imam who is uncovered.
Covering the required parts is a condition of prayer. An imam who prays without clothing due to genuine inability is a different case from a follower who has the ability to cover; the stated Hanafi rule does not permit that follower to follow this imam.