Mu'adha asked 'A'isha (Allah be pleased with her) how many rak'ahs Allah's Messenger (ﷺ) prayed at the forenoon prayer. She replied: Four rak'ahs, but sometimes more as he pleased.
Hadith ReferenceSahih Muslim / The Book of Prayer - Travellers / Hadith: 719