Hadith on Prayer: Number of raka’at in the witr prayer

Umm Salamah reported: The Prophet, peace and blessings be upon him, would perform witr prayer with thirteen cycles, and when he became older and weaker he performed it with seven cycles.

Al-Tirmidhi said, “It has been narrated from the Prophet, peace and blessings be upon him, that he would perform witr prayer with thirteen, eleven, nine, seven, five, three, or one cycle.”

Source: Sunan al-Tirmidhī 457

Grade: Sahih (authentic) according to Al-Albani

عَنْ أُمِّ سَلَمَةَ قَالَتْ كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُوتِرُ بِثَلَاثَ عَشْرَةَ رَكْعَةً فَلَمَّا كَبِرَ وَضَعُفَ أَوْتَرَ بِسَبْعٍ

وقال الترمذي وَقَدْ رُوِيَ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الْوَتْرُ بِثَلَاثَ عَشْرَةَ وَإِحْدَى عَشْرَةَ وَتِسْعٍ وَسَبْعٍ وَخَمْسٍ وَثَلَاثٍ وَوَاحِدَةٍ

457 سنن الترمذي أبواب الوتر باب ما جاء في الوتر بسبع

457 المحدث الألباني  خلاصة حكم المحدث إسناده صحيح في صحيح الترمذي