What is the Hanafi ruling for a man who performs prayer with his long hair tied back in a bun or braid?

Disliked Acts in Prayer Part 2: Environmental and Posture Dislikes