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.
Hadith ReferenceSahih Muslim / The Book of Prayer - Travellers / Hadith: 719