The obligatory prayers must be offered while standing with the ability and freedom of choice, and it is not obligatory to offer them while standing with a justifiable excuse. Recommended prayers like the Witr prayer can be offered in sitting position, however it is recommended to offer it in two rak'as then.