Sunan an-Nasa'i, Book 22, Hadith 319 (Nasa'i 2413)

It was narrated that Abu Hurairah said:

" I heard the Messenger of Allah say: 'The month of patience ( Ramadan) and three days of each month is fasting for a lifetime."' (Sahih).