Sunan an-Nasa'i, Volume 3, Book 22, Hadith 2410 (DarusSalam) ⓘ
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).
أَخْبَرَنَا زَكَرِيَّا بْنُ يَحْيَى، قَالَ حَدَّثَنَا عَبْدُ الأَعْلَى، قَالَ حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ ثَابِتٍ، عَنْ أَبِي عُثْمَانَ، أَنَّ أَبَا هُرَيْرَةَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ " شَهْرُ الصَّبْرِ وَثَلاَثَةُ أَيَّامٍ مِنْ كُلِّ شَهْرٍ صَوْمُ الدَّهْرِ " .
also referenced under: Hadith 2408 (Reference) & Book 22, Hadith 319 (In-Book)