Umm Salama bint Abu Umaya reported,

The Messenger of Allah ﷺ used to perform the witr prayer with thirteen rakahs. When he grew older and weaker, he performed witr with nine.

Nasai 1728

Sahih

أخبرنا أحمد بن حرب قال حدثنا أبو معاوية عن الأعمش عن عمرو بن مرة عن يحيى بن الجزار

عن أم سلمة قالت

كان رسول الله ﷺ يوتر بثلاث عشرة ركعة فلما كبر وضعف أوتر بتسع

النسائي 1728صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Night prayer and voluntary prayers of the day
Chapter
Witr with thirteen rakats
Numbering
Darussalam 1728
Nasai 1728