Abu Ayyub al-Ansari reported that the Prophet, upon whom be peace, said: "Whoever fasts during the month of Ramadan and then follows it with six days of Shawwal will be [rewarded] as if he had fasted the entire year.

Narrator: Abu Ayyub al-Ansari updated: Muslim - Source: Sahih Muslim - Page or number: 1164
Updated summary of the rule: It is true

من صام رمضان . ثم أتبعه ستا من شوال . كان كصيام الدهر
الراوي: أبو أيوب الأنصاري المحدث: مسلم - المصدر: صحيح مسلم - الصفحة أو الرقم: 1164
خلاصة حكم المحدث: صحيح