Thawban reported,

The Messenger of Allah ﷺ said, "Fasting Ramadan equals ten months, and fasting the six days equals two months, so that completes the fasting of an entire year," meaning Ramadan and six days after it.

Azami 4430

Sahih

عن ثوبان

أن رسول الله ﷺ قال: صيام رمضان بعشر أشهر، وصيام الستة أيام بشهرين، فذلك صيام السنة يعني رمضان وستة أيام بعده.

الأعظمي 4430صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Voluntary fasting and encouragement to do it
Section
Virtue of fasting six days of Shawwal following Ramadan
Numbering
Jami al-Kamil 4430 (2nd edition)
Azami 4430