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."
كُنْتُ جَالِسًا عِنْدَ النَّبِيِّ ﷺ بِمِثْلِ حَدِيثِ ابْنِ مُسْهِرٍ غَيْرَ أَنَّهُ قَالَ صَوْمُ شَهْرَيْنِ