The author, may Allah shower blessings on him, said: The chapter of the prohibition of observing fast after the middle of Sha'ban.
Then he mentioned a number of hadeeths, one of which is the hadeeth of Aboo Hurayrah (may Allaah be pleased with him). He narrated that the Prophet ﷺ forbade observing fast for a day or two days preceding Ramadan except the one who is in the habit of observing fast on a particular day.
For example, if he is in the habit of fasting on Monday and a Monday coincides with a day or two days before Ramadan, then there will be no harm in fasting. Another instance, he is in the habit of fasting on the thirteenth, fourteenth and fifteenth days of the Islamic month, but he was unable to achieve this until a day or two days before Ramadan, then there will be no harm in fasting.
This shows that the intent of prohibition is the concern of preempting the commencement of Ramadan by observing fast a day or two before Ramadan as a cautionary measure. This precaution is baseless. Hence, the Prophet ﷺ said, "Observe fast on sighting it," that is, the crescent "and terminate it on sighting it. If the cloud comes between you and it," cloud, rain or similar elements "complete the counting thirty days." That is, the counting of Sha'ban.
The scholars, may Allah have mercy on them, differ on the nature of this prohibition, is it an absolute prohibition or means of censure? The correct opinion is that it is an absolute prohibition especially on the Day of doubt because Ammar bin Yasir, may Allah be pleased
with him and his father, said: “Whoever fasts on a doubtful day has disobeyed Abu Al-Qasim. (i.e. the Prophet ﷺ).”
On this basis, it is not permissible for a person to fast a day or two days before Ramadan except the one who is in the habit of fasting. However, it is not permissible to fast on the Day of doubt, which is the thirtieth day of Sha’ban, in absolute term if cloud or rain inhibits the sighting of the crescent at night. The Messenger of Allah ﷺ said, “Observe fast on sighting the crescent and end it on sighting it (i.e. sighting the crescent).”
As for fasting after the middle of Sha’ban, although Imam At-Tirmidhee – may Allaah shower blessings on him - said the hadeeth is Hasan Sahih, it is weak. Imam Ahmad said it is Shaadh(1) as it contradicts the hadeeth of Aboo Hurayrah, may Allah be pleased with him, that the Prophet ﷺ said: “Do not observe fasting for a day or two days preceding Ramadan”. The implicit meaning of this hadeeth is that it is permissible to fast three days, four days or ten days before Ramadan.
If the hadeeth were to be authentic, it would not imply an absolute prohibition but a censure as presumed by some of the people of knowledge, may Allah shower blessings on them. Nonetheless, the one who is in the habit of fasting can observe fasting even after the middle of Sha’ban.
As a result, the fasting is divided into three:
Firstly, fasting after the middle of Sha’ban until the twenty eighth day. This is disliked except for the one who is in the habit of fasting. However, this opinion is built on the authenticity of the hadeeth. Imam Ahmad (may Allaah shower blessings on him) did not consider it as authentic, hence this is not disliked.
Secondly, a day or two days preceding Ramadan. This is prohibited
except for someone that is in the habit of fasting.
Thirdly, fasting on the day of doubt. This is prohibited without question. You must not fast on the Day of doubt because the Prophet ﷺ prohibited it.
However, as I said earlier, it is apparent that the prohibition is for the one who intend to make it as part of Ramadan. Nevertheless, it is prohibited for the one who intends optional fast as a means of blocking evil. This is because it is feared that if people see this man fasting, they may think that he fasted as a precaution, which is not permissible. So, "Observe fast on sighting it (i.e. the crescent) and terminate it on sighting it."
Allah alone grants success.