Sunan an-Nasa'i
Sunan an-Nasa'i 2352
أَخْبَرَنَا مَحْمُودُ بْنُ غَيْلاَنَ، قَالَ حَدَّثَنَا أَبُو دَاوُدَ، قَالَ أَنْبَأَنَا شُعْبَةُ، عَنْ مَنْصُورٍ، قَالَ سَمِعْتُ سَالِمَ بْنَ أَبِي الْجَعْدِ، عَنْ أَبِي سَلَمَةَ، عَنْ أُمِّ سَلَمَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ لاَ يَصُومُ شَهْرَيْنِ مُتَتَابِعَيْنِ إِلاَّ شَعْبَانَ وَرَمَضَانَ .
Mahmud ibn Ghaylan reported: Abu Dawud narrated to us: Shubah informed us, from Mansur, who said: I heard Salim ibn Abi al-Jad, from Abu Salamah, from Umm Salamah, that the Messenger of Allah ﷺ would not fast two consecutive months except Shaaban and Ramadan.
Translation notes
The Arabic says he would not fast two consecutive months except Shaaban and Ramadan; it does not specify here how the days between the months were observed.