حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، قَالَ‏:‏ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ أَيُّوبَ، عَنْ عَبْدِ اللهِ بْنِ شَقِيقٍ، قَالَ‏:‏ سَأَلْتُ عَائِشَةَ، عَنْ صِيَامِ رَسُولِ اللهِ صلى الله عليه وسلم، قَالَتْ‏:‏ كَانَ يَصُومُ حَتَّى نَقُولَ قَدْ صَامَ، وَيُفْطِرُ حَتَّى نَقُولَ قَدْ أَفْطَرَ قَالَتْ‏:‏ وَمَا صَامَ رَسُولُ اللهِ صلى الله عليه وسلم، شَهْرًا كَامِلا مُنْذُ قَدِمَ الْمَدِينَةَ إِلا رَمَضَانَ‏.‏
Translation
Ibn Abbas said

"The Prophet (Allah bless him and give him peace) used to fast until we would say: “He does not intend to break fast [during the month],” and he used to break fast until we would say: “He does not intend to fast during it.” He did not fast for a whole month after arriving in Medina, with the exception of Ramadan.”