It was narrated from ‘Aishah that the Prophet (ﷺ) used to pray nine Rak’ah at night.
حَدَّثَنَا هَنَّادُ بْنُ السَّرِيِّ، حَدَّثَنَا أَبُو الأَحْوَصِ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ، عَنِ الأَسْوَدِ، عَنْ عَائِشَةَ، أَنَّ النَّبِيَّ ـ صلى الله عليه وسلم ـ كَانَ يُصَلِّي مِنَ اللَّيْلِ تِسْعَ رَكَعَاتٍ
IbnMaja
Establishing the Prayer and the Sunnah Regarding Them • Hadith 1360