صحيح البخاري Sahih Bukhari كتاب التهجد The Book of Salat-Ut-Tahajjud (Night Prayer)
بَابُ كَيْفَ كَانَ صَلاَةُ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَكَمْ كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُصَلِّي مِنَ اللَّيْلِ:

(10) Chapter. How was the Salat (Tahajjud prayer) of the Prophet ﷺ and how many Raka, he used to offer at night?

4 hadith
Hadith 1137
حَدَّثَنَا أَبُو الْيَمَانِ , قَالَ : أَخْبَرَنَا شُعَيْبٌ ، عَنِ الزُّهْرِيِّ , قَالَ : أَخْبَرَنِي سَالِمُ بْنُ عَبْدِ اللَّهِ ، أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا , قَالَ : إِنَّ رَجُلًا قَالَ : " يَا رَسُولَ اللَّهِ كَيْفَ صَلَاةُ اللَّيْلِ ؟ قَالَ : مَثْنَى مَثْنَى ، فَإِذَا خِفْتَ الصُّبْحَ فَأَوْتِرْ بِوَاحِدَةٍ " .
Narrated `Abdullah bin `Umar: A man said, "O Allah's Apostle! How is the prayer of the night?" He said, "Two rak`at followed by two rak`at and so on, and when you apprehend the approaching dawn, offer one rak`a as witr."
Hadith Reference Sahih Bukhari / The Book of Salat-Ut-Tahajjud (Night Prayer) / Hadith: 1137
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1138
حَدَّثَنَا مُسَدَّدٌ , قَالَ : حَدَّثَنَا يَحْيَى ، عَنْ شُعْبَةَ , قَالَ : حَدَّثَنِي أَبُو جَمْرَةَ ، عَنِ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُمَا , قَالَ : " كَانَتْ صَلَاةُ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ثَلَاثَ عَشْرَةَ رَكْعَةً يَعْنِي بِاللَّيْلِ " .
Narrated Ibn `Abbas: The prayer of the Prophet used to be of thirteen rak`at, i.e. of the night prayer.
Hadith Reference Sahih Bukhari / The Book of Salat-Ut-Tahajjud (Night Prayer) / Hadith: 1138
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1139
حَدَّثَنَا إِسْحَاقُ , قَالَ : حَدَّثَنَا عُبَيْدُ اللَّهِ , قَالَ : أَخْبَرَنَا إِسْرَائِيلُ ، عَنْ أَبِي حَصِينٍ ، عَنْ يَحْيَى بْنِ وَثَّابٍ ، عَنْ مَسْرُوقٍ , قَالَ : سَأَلْتُ عَائِشَةَ رَضِيَ اللَّهُ عنها عَنْ صَلَاةِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِاللَّيْلِ ، فَقَالَتْ : " سَبْعٌ وَتِسْعٌ وَإِحْدَى عَشْرَةَ سِوَى رَكْعَتِي الْفَجْرِ " .
Narrated Masruq: I asked Aisha about the night prayer of Allah's Apostle and she said, "It was seven, nine or eleven rak`at besides the two rak`at of the Fajr prayer (i.e. Sunna). "
Hadith Reference Sahih Bukhari / The Book of Salat-Ut-Tahajjud (Night Prayer) / Hadith: 1139
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1140
حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى , قَالَ : أَخْبَرَنَا حَنْظَلَةُ ، عَنِ الْقَاسِمِ بْنِ مُحَمَّدٍ ، عَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا , قَالَتْ : " كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُصَلِّي مِنَ اللَّيْلِ ثَلَاثَ عَشْرَةَ رَكْعَةً ، مِنْهَا الْوِتْرُ وَرَكْعَتَا الْفَجْرِ " .
Narrated `Aisha: The Prophet (p.b.u.h) used to offer thirteen rak`at of the night prayer and that included the witr and two rak`at (Sunna) of the Fajr prayer.
Hadith Reference Sahih Bukhari / The Book of Salat-Ut-Tahajjud (Night Prayer) / Hadith: 1140
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة