(17) باب صَلاَةِ اللَّيْلِ وَعَدَدِ رَكَعَاتِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي اللَّيْلِ وَأَنَّ الْوِتْرَ رَكْعَةٌ وَأَنَّ الرَّكْعَةَ صَلاَةٌ صَحِيحَةٌ
Masruq is reported to have asked 'A'isha about the action (most pleasing to) the Messenger of Allah (ﷺ). She said:
He (the Holy Prophet) loved (that action) which one keeps on doing regularly. I said (to 'A'isha): When did he pray (at night)? She replied: When he heard the cock crow, he got up and observed prayer.
Reference: Sahih Muslim 741
In-book reference: Book 6, Hadith 159
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1614