Thawban reported: The Messenger of Allah, peace and blessings be upon him, said, “Fasting the month of Ramadan is like ten months of fasting and fasting six days of Shawwal is like two months of fasting. Thus, they are like fasting for a year.”
Source: Ṣaḥīḥ Ibn Khuzaymah 2115
Grade: Sahih (authentic) according to Al-Albani
عَنْ ثَوْبَانَ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ صِيَامُ رَمَضَانَ بِعَشَرَةِ أَشْهُرٍ وَصِيَامُ السِّتَّةِ أَيَّامٍ بِشَهْرَيْنِ فَذَلِكَ صِيَامُ السَّنَةِ
2115 صحيح ابن خزيمة كتاب الصوم
3851 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الجامع