ENOfficial
It was narrated from Umm Salamah: That the Messenger of Allah (ﷺ) would not fast any two consecutive months except Shaban and Ramadan.
Source: sunnah.com
Other translations
Arabic
أَخْبَرَنَا مَحْمُودُ بْنُ غَيْلاَنَ، قَالَ حَدَّثَنَا أَبُو دَاوُدَ، قَالَ أَنْبَأَنَا شُعْبَةُ، عَنْ مَنْصُورٍ، قَالَ سَمِعْتُ سَالِمَ بْنَ أَبِي الْجَعْدِ، عَنْ أَبِي سَلَمَةَ، عَنْ أُمِّ سَلَمَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ لاَ يَصُومُ شَهْرَيْنِ مُتَتَابِعَيْنِ إِلاَّ شَعْبَانَ وَرَمَضَانَ .
sunnah.com