I fell ill in Persia and therefore, prayed in a sitting posture, and I asked 'A'isha about it and she said: The Messenger of Allah (ﷺ) prayed for a long time in the night sitting.
Sahih Muslim Book 6, Hadith 131