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.”