Hadithcore
Sahih Muslim, 719 a
sahih

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.

حَدَّثَنَا شَيْبَانُ بْنُ فَرُّوخَ، حَدَّثَنَا عَبْدُ الْوَارِثِ، حَدَّثَنَا يَزِيدُ، - يَعْنِي الرِّشْكَ - حَدَّثَتْنِي مُعَاذَةُ، أَنَّهَا سَأَلَتْ عَائِشَةَ - رضى الله عنها - كَمْ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يُصَلِّي صَلاَةَ الضُّحَى قَالَتْ أَرْبَعَ رَكَعَاتٍ وَيَزِيدُ مَا شَاءَ ‏.‏

References2 variants
In-Book Reference
Book 6, Hadith 93
USC-MSA web (English) reference
Book 4, Hadith 1549 (deprecated numbering scheme)
Sharh · explanationclick to expand
Prayer is a tawqīfi (determined) act of worship that must be taken from the Prophet (may Allah's peace and blessings be upon him). He taught the Ummah the obligatory prayers as well as the regular and non-regular supererogatory prayers. He also taught the Ummah various kinds of prayers at certain times. One of these is the Duha prayer. In this Hadīth, Mu‘ādhah bint ‘Abdullāh al-‘Adawiyyah relates that she asked the Mother of the Believers, ‘Ā’ishah (may Allah be pleased with her): "How many Rak‘ahs did the Messenger of Allah (may Allah's peace and blessings be upon him) use to perform in the Duha prayer?" The Duha prayer, also called the Duha Subha, is one of the supererogatory prayers to be performed during daytime, and it is to be prayed after the sun rises and goes as high as the length of a spear - that is nearly 15 minutes after sunshine - and its time ends shortly before the noon. Answering her question, ‘Ā’ishah (may Allah be pleased with her) said that the Prophet (may Allah's peace and blessings be upon him) used to perform the Duha prayer as four Rak‘ahs, i.e., he was persistent in offering it as four Rak‘ahs: in two Rak‘ahs, as it is well known with regard to the supererogatory prayers. "And he would add as many Rak‘ahs as Allah willed," i.e., without limit. In another version by Muslim in his Sahīh Collection, ‘Ā’ishah reported that the Prophet (may Allah's peace and blessings be upon him) did not use to perform the Duha prayer, unless he came back from his absence, i.e., from travel. The negation is probably intended as the negation of her knowledge of the matter, and the affirmation is made for a reason, namely the return from travel. So, there is no contradiction between the two Hadīths. The minimum of the Duha prayer is two Rak‘ahs. In the Two Sahīh Collections, Abu Hurayrah (may Allah be pleased with him) said: "My close friend (may Allah's peace and blessings be upon him) advised me to do three things: to fast three days each month, perform the two Rak‘ahs of Duha, and perform the Witr prayer before I sleep.".
Related hadiths1
Compare isnād across 1 related chains →