It is narrated from Hazrat Aisha that in the night prayer, the Prophet (peace be upon him) would stand for a long time and would also sit for quite a while. The Prophet (peace be upon him) would recite, bow, and prostrate both while standing and sitting.