كتاب صلاة المسافرين وقصرها
6  
The Book of Prayer - Travellers
(13)
Chapter: It is recommended to pray Duha, the least of which is two rak`ah, the best of which is eight, and the average of which is four or six, and encouragement to do so regularly
(13)
باب اسْتِحْبَابِ صَلاَةِ الضُّحَى وَأَنَّ أَقَلَّهَا رَكْعَتَانِ وَأَكْمَلَهَا ثَمَانِ رَكَعَاتٍ وَأَوْسَطَهَا أَرْبَعُ رَكَعَاتٍ أَوْ سِتٌّ وَالْحَثِّ عَلَى الْمُحَافَظَةِ عَلَيْهَا
Sahih Muslim 719 c

Mua'ada 'Adawiyya reported 'A'isha as saying:

The Messenger of Allah (ﷺ) used to observe four rak'ahs in the forenoon prayer and he sometimes observed more as Allah pleased.
وَحَدَّثَنِي يَحْيَى بْنُ حَبِيبٍ الْحَارِثِيُّ، حَدَّثَنَا خَالِدُ بْنُ الْحَارِثِ، عَنْ سَعِيدٍ، حَدَّثَنَا قَتَادَةُ، أَنَّ مُعَاذَةَ الْعَدَوِيَّةَ، حَدَّثَتْهُمْ عَنْ عَائِشَةَ، قَالَتْ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يُصَلِّي الضُّحَى أَرْبَعًا وَيَزِيدُ مَا شَاءَ اللَّهُ ‏.‏
Reference : Sahih Muslim 719c
In-book reference : Book 6, Hadith 95
USC-MSA web (English) reference : Book 4, Hadith 1551
  (deprecated numbering scheme)