I asked Ayesha how many rakahs the Messenger of Allah ﷺ would pray for Duha. She replied, "Four rakahs, and he would add as many more as Allah willed."
حدثنا بهز قال حدثنا همام عن قتادة
سألت عائشة كم كان رسول الله ﷺ يصلي الضحى قالت أربع ركعات ويزيد ما شاء الله عز وجل