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.