The Messenger of Allah ﷺ used to perform the witr prayer with nine units, followed by two units while seated. When he grew weak, he performed witr with seven units, followed by two units while seated.
حدثنا عبد الرزاق حدثنا معمر عن قتادة عن الحسن قال أخبرني سعد بن هشام أنه سمع
كان رسول الله ﷺ يوتر بتسع ركعات وركعتين وهو جالس فلما ضعف أوتر بسبع وركعتين وهو جالس