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