[Machine] The Messenger of Allah ﷺ used to perform voluntary prayers called "Tahajjud" with nine rak'ahs. However, as he grew older and found it burdensome, he shortened it to seven rak'ahs.
كَانَ رَسُولُ اللهِ ﷺ يُوتِرُ بِتِسْعٍ فَلَمَّا أَسَنَّ وثَقُلَ أَوْتَرَ بِسَبْعٍ