The Messenger of Allah (ﷺ) used to observe four rak'ahs in the forenoon prayer and he…

Sahih Muslim Book 6 Hadith 95

Sahih Muslim #719 c

The Book of Prayer - Travellers 6:95

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.

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

Grade: Sahih