If a weak person is able to stand with the help of a staff or wall, they are legally required to do so and cannot pray sitting.

Prayer Pillars: Standing and Recitation