´It was narrated that Ibn ‘Abbas said:` “The Messenger of Allah (ﷺ) used to fast until we thought he would never stop fasting. And he used to not fast until we thought we would never fast. And he never fasted any complete month apart from Ramadan, from the time he came to Al- Madinah.”
Hadith Referenceسنن ابن ماجه / كتاب الصيام / 1711
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:بخاري ومسلم
Narrated Uthman bin Hakim: I asked Saeed bin Jubair about fasting during Rajab. He said: Ibn Abbas told me that the Messenger of Allah ﷺ used to fast to such an extent that we thought that he would never break his fast ; and he would go without fasting to such and extent that he would never fast.
Shaykh Umar Farooq Saeedi
Benefits and Issues: Rajab is among the sacred months. And in the light of this hadith, it can be said that the Messenger of Allah (sallallahu alayhi wa sallam) used to fast abundantly in this month. Or it may mean that, like other months, sometimes he would fast and sometimes he would not. There is no specific ruling regarding this. And Allah knows best.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 2430