Ali bin Abu Talib reported,

It is reported from the Prophet ﷺ that he rose during the night, cleaned his teeth with a siwak, then prayed two units. He then slept, rose again, cleaned his teeth, performed ablution, and prayed two units. He continued in this manner until he had prayed six units, then prayed three units of witr, and finally prayed two more units.

Nasai 1705

Sahih

أخبرنا محمد بن رافع قال حدثنا معاوية بن هشام قال حدثنا سفيان عن حبيب بن أبي ثابت

عن محمد بن علي عن أبيه عن جده

عن النبي ﷺ أنه قام من الليل فاستن ثم صلى ركعتين ثم نام ثم قام فاستن ثم توضأ فصلى ركعتين حتى صلى ستا ثم أوتر بثلاث وصلى ركعتين

النسائي 1705صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Night prayer and voluntary prayers of the day
Chapter
Difference of opinion regarding Habib bin Abu Thabit in the hadith of Ibn Abbas about Witr
Numbering
Darussalam 1705
Nasai 1705