Zurara bin Awfa reported,

When Saad bin Hisham bin Amir came to us, he informed us that he had gone to Ibn Abbas and asked him about the witr prayer of the Messenger of Allah ﷺ.Ibn Abbas said, "Shall I direct you, or shall I inform you, of the person on earth who knows best about the witr of the Messenger of Allah ﷺ?"Saad asked, "Who?"He replied, "Ayesha."So we went to her, greeted her, entered, and questioned her. I said, "Tell me about the witr of the Messenger of Allah ﷺ."She said, "We used to prepare his tooth-stick and his water for purification, and Allah عز وجل would rouse him whenever He willed during the night. He would clean his teeth, perform ablution, then pray nine rakahs, sitting only in the eighth. He would praise Allah, remember Him, and supplicate, then rise without saying the salam. Then he would pray the ninth, sit, praise Allah, remember Him, and supplicate, then say the salam loud enough for us to hear. Then he would pray two more rakahs while seated. That is eleven rakahs, my son.When the Messenger of Allah ﷺ grew older and gained weight, he prayed witr with seven rakahs, then prayed two rakahs while seated after the salam. That is nine, my son.And whenever the Messenger of Allah ﷺ performed a prayer, he loved to maintain it consistently."

Nasai 1722

Sahih

أخبرنا زكريا بن يحيى قال حدثنا إسحق قال أنبأنا عبد الرزاق قال حدثنا معمر عن قتادة

عن زرارة بن أوفى

أن سعد بن هشام بن عامر لما أن قدم علينا أخبرنا أنه أتى ابن عباس فسأله عن وتر رسول الله ﷺ قال ألا أدلك أو ألا أنبئك بأعلم أهل الأرض بوتر رسول الله ﷺ قلت من قال عائشة فأتيناها فسلمنا عليها ودخلنا فسألناها فقلت أنبئيني عن وتر رسول الله ﷺ قالت كنا نعد له سواكه وطهوره فيبعثه الله عز وجل ما شاء أن يبعثه من الليل فيتسوك ويتوضأ ثم يصلي تسع ركعات لا يقعد فيهن إلا في الثامنة فيحمد الله ويذكره ويدعو ثم ينهض ولا يسلم ثم يصلي التاسعة فيجلس فيحمد الله ويذكره ويدعو ثم يسلم تسليما يسمعنا ثم يصلي ركعتين وهو جالس فتلك إحدى عشرة ركعة يا بني فلما أسن رسول الله ﷺ وأخذ اللحم أوتر بسبع ثم يصلي ركعتين وهو جالس بعد ما يسلم فتلك تسعا أي بني وكان رسول الله ﷺ إذا صلى صلاة أحب أن يداوم عليها

النسائي 1722صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Night prayer and voluntary prayers of the day
Chapter
How to pray Witr with nine rakahs
Numbering
Darussalam 1722
Nasai 1722