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".
This hadith also teaches us the importance of adapting our lifestyle according to our age or physical condition; as we grow older or experience changes in health, it is important for us to make adjustments so that we can continue living a healthy life while still fulfilling our religious obligations. It also reminds us that Allah SWT knows what is best for each one of us and He will guide us on how best to live according to His will even if this means making changes in how we practice certain rituals such as prayer.