Praise be to Allaah.
Firstly: The month of Rajab is one of the sacred months of which Allaah says (interpretation of the meaning):
ìVerily, the number of months with Allaah is twelve months (in a year), so was it ordained by Allaah on the Day when He created the heavens and the earth; of them four are Sacred (i.e. the 1st, the 7th, the 11th and the 12th months of the Islamic calendar). That is the right religion, so wrong not yourselves thereinî [al-Tawbah 9:36]
The sacred months are: Rajab, Dhuíl-Qaídah, Dhuíl-Hijjah and Muharram.
Al-Bukhaari (4662) and Muslim (1679) narrated from Abu Bakrah (may Allaah be pleased with him) that the Prophet (peace and blessings of Allaah be upon him) said: ìThe year is twelve months, of which four are sacred: three consecutive months, Dhuíl-Qaídah, Dhuíl-Hijjah and Muharram, and Rajab Mudar which comes between Jumaada and Shaíbaan.
These months are called sacred for two reasons:
1- Because fighting therein is forbidden unless initiated by the enemy
2- Because transgression of the sacred limits therein is worse than at other times.
Hence Allaah has forbidden us to commit sins during these months, as He says (interpretation of the meaning): ìwrong not yourselves thereinî [al-Tawbah 9:36]
Although committing sins is haraam and forbidden during these months and at other times, in these months it is more forbidden.
Al-Saídi (may Allaah have mercy on him) said (p. 373):
In the phrase ìwrong not yourselves thereinî, the pronoun may be understood as referring to twelve months. Allaah states that He has made them a measure of time for His slaves, which they may use for worshipping Him, and thank Allaah for His blessings, and they serve the interests of His slaves, so beware of wronging yourselves therein.
The pronoun may also be understood as referring to the four sacred months, and this forbids them to wrong themselves in those months in particular, as well as it being forbidden to do wrong at all times, because it is more forbidden at this time, but it is worse at this time than at others. End quote.
Secondly: With regard to fasting the month of Rajab, there is no saheeh hadeeth to indicate that there is any special virtue in fasting all or part of this month.
What some people do, singling out some days of Rajab for fasting, believing that they are better than others, has no basis in shareeíah.
But there is a report from the Prophet (peace and blessings of Allaah be upon him) which indicates that it is mustahabb to fast during the sacred months (and Rajab is one of the sacred months). The Prophet (peace and blessings of Allaah be upon him) said: ìFast some days of the sacred months and not others.î Narrated by Abu Dawood, 2428; classed as daíeef by al-Albaani in Daíeef Abi Dawood.
Even if this hadeeth were saheeh, it indicates that it is mustahabb to fast during the sacred months. So if a person fasts during Rajab because of this, and he also fasts in the other sacred months, there is nothing wrong with that. But singling out Rajab for fasting is not right.
Shaykh al-Islam Ibn Taymiyah (may Allaah have mercy on him) said in Majmooí al-Fataawa (25/290):
ìAs for fasting in Rajab in particular, the ahaadeeth concerning that are all daíeef (weak), and in fact mawdooí (fabricated). The scholars do not rely on any of them. They are not among the daíeef ahaadeeth which have been narrated concerning virtues, rather most of them are fabricated and false. In al-Musnad and elsewhere there is a hadeeth which says that the Prophet (peace and blessings of Allaah be upon him) enjoined fasting the sacred months, namely Rajab, Dhuíl-Qaídah, Dhuíl-Hijjah and Muharram, but this has to do with fasting during all of them, not just Rajab.î
Ibn al-Qayyim (may Allaah have mercy on him) said:
ìEvery hadeeth which mentions fasting in Rajab and praying during some of its nights is false and fabricated.î End quote from al-Manaar al-Muneef, p. 96
Al-Haafiz ibn Hajar said in Tabyeen al-ëAjab (p. 11): ìThere is no saheeh hadeeth that would count as evidence which speaks of the virtue of the month of Rajab, or that speaks of fasting this month or part of it, or of spending any particular night of it in prayer.î
Shaykh Sayyid Saabiq (may Allaah have mercy on him) said in Fiqh al-Sunnah (1/282):
ìFasting in Rajab is no better than fasting in any other month, except that it is one of the sacred months. There is no report in the saheeh Sunnah to suggest that there is anything special about fasting in this month. Whatever has been narrated concerning that is not fit to be quoted as evidence.î
Shaykh Ibn ëUthaymeen (may Allaah have mercy on him) was asked about fasting on the twenty-seventh of Rajab and spending that night in prayer. He replied: ìFasting on the twenty-seventh of Rajab and spending that night in prayer is a bidíah (innovation), and every bidíah is a going astray.î Majmooí Fataawa Ibn ëUthaymeen, 20/440. [source: islamqa.info]