In Hanafi Fiqh, the knees of a man are exempt from his Aurah and can remain exposed during prayer.

Covering the Awrah in Prayer: Rulings for Men and Women