A woman came to the Messenger of Allah (ﷺ), and the rest of the hadith is the same, but he said:" Fasting of one month."
Sahih Muslim Book 13, Hadith 205