I recently had serious surgery: Can I sit and pray if I have pain?
If you can stand for at least some parts of salat, especially during the first Takbeer, or before Ruku, then you must do so.