Sahih Muslim , Book 6, Hadith 2559 (USC-MSA)

'Abdullah b. Buraida (Allah be pleased with him) reported on the authority of his father: I was sitting with the Messenger of Allah ; the rest of the hadith is the same but with this variation that the (the narrator) said:" Fasts of two months."

وَحَدَّثَنَاهُ أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نُمَيْرٍ، عَنْ عَبْدِ اللَّهِ بْنِ عَطَاءٍ، عَنْ عَبْدِ اللَّهِ بْنِ بُرَيْدَةَ، عَنْ أَبِيهِ، - رضى الله عنه - قَالَ كُنْتُ جَالِسًا عِنْدَ النَّبِيِّ صلى الله عليه وسلم ‏.‏ بِمِثْلِ حَدِيثِ ابْنِ مُسْهِرٍ غَيْرَ أَنَّهُ قَالَ صَوْمُ شَهْرَيْنِ ‏.‏

sunnah.com