Sunan an-Nasa'i #1708
The Book of Qiyam Al-Lail (The Night Prayer) and Voluntary Prayers During the Day 20:111
It was narrated that Umm Salamah said:
"The Messenger of Allah (ﷺ) used to pray witr with thirteen rak'ahs, and when he grew older and weaker he prayed witr with nine."