[Machine] The Prophet Muhammad ﷺ used to pray thirteen prostrations during the night, and he would mostly pray standing. But as he grew older and became heavier, he would pray mostly sitting. He would pray his prayer while I was lying in front of him on the bed on which he slept, until he wanted to make the Witr prayer. He would then gesture to me, and I would stand up and make the Witr prayer. After that, he would lie down until he would hear the call to prayer, then he would stand and make two quick prostrations, and then he would press his side against the ground before going out to pray.
أَنَّ رَسُولَ اللهِ ﷺ كَانَ يُصَلِّي مِنَ اللَّيْلِ ثَلَاثَ عَشْرَةَ سَجْدَةً وَكَانَ أَكْثَرَ صَلَاتِهِ قَائِمًا فَلَمَّا كَبُرَ وَثَقُلَ كَانَ أَكْثَرَ صَلَاتِهِ قَاعِدًا وَكَانَ يُصَلِّي صَلَاتَهُ وَأَنَا مُعْتَرِضَةٌ بَيْنَ يَدَيْهِ عَلَى الْفِرَاشِ الَّذِي يَرْقُدُ عَلَيْهِ حَتَّى يُرِيدَ أَنْ يُوتِرَ فَيَغْمِزُنِي فَأَقُومُ فَيُوتِرُ ثُمَّ يَضْطَجِعُ حَتَّى يَسْمَعَ النِّدَاءَ بِالصَّلَاةِ ثُمَّ يَقُومُفَيَسْجُدُ سَجْدَتَيْنِ خَفِيفَتَيْنِ ثُمَّ يُلْصِقُ جَنْبَهُ الْأَرْضَ ثُمَّ يَخْرُجُ إِلَى الصَّلَاةِ