From Sahih Muslim (Hadith 2699):
Ibn Buraida (Allah be pleased with him) reported on the authority of his father:A woman came to the Messenger of Allah (ﷺ), and the rest of the hadith is the same, but he said:" Fasting of one month
Reference: Muslim 2699