no doubt that muslims are urged to strive hard in getting close to allah with all forms of acts of worship; they should take that as a top priority. however, they are instructed that whatever they do, they should not deviate from the teachings and principles set by the noble prophet, muhammad (peace and blessings be upon him). he has set for us a shinning model that we should follow in order to keep firm on the right path. therefore it’s very important for a committed muslim to make sure that his acts of worship have basis both in the qur’an and the sunnah of the prophet (peace and blessings be upon him).
in this regard,the prominent muslim scholar sheikh yusuf al-qaradawi states:
the prophet (peace and blessings of allah be upon him) was keen on fasting in the month of sha`ban more than he was in other months. `a'ishah (may allah be pleased with her) reported that the prophet (peace and blessings of allah be upon him) never fasted for a whole month except in ramadan. this refutes what some people do; observing fast for three consecutive months: rajab, sha`ban and ramadan, followed by six days of shawwal . that is, they start fasting at the beginning of rajab until the seventh of shawwal, leaving nothing but the day of `eidul-fitr. neither the prophet (peace and blessings of allah be upon him) nor his companions or even their successors were reported to have done so.
the prophet (peace and blessings of allah be upon him) used to fast some days of every month. `a'ishah (may allah be pleased with her) said that the prophet (peace and blessings of allah be upon him) sometimes would observe fasting continuously, to the extent that his companions thought he would never break fast, and in other times he would refrain from fasting to the extent that they thought he would never fast again.
the prophet (peace and blessings of allah be upon him) usually observed fasting on mondays and thursdays and three days of each month (the 13th , 14th and 15th). he sometimes used to fast every alternate day, following the pattern of prophet dawud (peace be upon him). he even made this clear: “the best way of fasting in allah’s sight is that of dawud, who used to observe fasting every alternate day.”
the prophet (peace and blessings of allah be upon him) used to observe fasting in sha`ban more than he did in other months. this was a kind of self-preparation for the coming of ramadan; that is, to act as some sort of girding oneself for ramadan. but there are no textual evidence that there are specific days in sha`ban in which fasting is commendable. it is, by and large, impermissible for one to prefer certain days to observe voluntary fasting or certain nights to perform night prayers, lacking any juristic basis for that action. religious acts are not left for man’s whims. rather, they are subject to divine legislation. thus, specifying certain times and places for worship and the description of different acts of worship are the matters of the divine, not that of human.