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

(11) Chapter. The waking up of the Prophet ﷺ from his sleep for the night prayer and what (how much) was cancelled from the night prayer.

1 hadith
Hadith 1141
حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ عَبْدِ اللَّهِ , قَالَ : حَدَّثَنِي مُحَمَّدُ بْنُ جَعْفَرٍ ، عَنْ حُمَيْدٍ ، أَنَّهُ سَمِعَ أَنَسًا رَضِيَ اللَّهُ عَنْهُ يَقُولُ : " كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُفْطِرُ مِنَ الشَّهْرِ حَتَّى نَظُنَّ أَنْ لَا يَصُومَ مِنْهُ ، وَيَصُومُ حَتَّى نَظُنَّ أَنْ لَا يُفْطِرَ مِنْهُ شَيْئًا ، وَكَانَ لَا تَشَاءُ أَنْ تَرَاهُ مِنَ اللَّيْلِ مُصَلِّيًا إِلَّا رَأَيْتَهُ ، وَلَا نَائِمًا إِلَّا رَأَيْتَهُ " تَابَعَهُ سُلَيْمَانُ ، وَأَبُو خَالِدٍ الْأَحْمَرُ ، عَنْ حُمَيْدٍ .
Narrated Anas bin Malik: Sometimes Allah's Apostle would not fast (for so many days) that we thought that he would not fast that month and he sometimes used to fast (for so many days) that we thought he would not leave fasting throughout that month and (as regards his prayer and sleep at night), if you wanted to see him praying at night, you could see him praying and if you wanted to see him sleeping, you could see him sleeping.
Hadith Reference Sahih Bukhari / The Book of Salat-Ut-Tahajjud (Night Prayer) / Hadith: 1141
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة