Rituals of the Eve and Day of 27th Rajab

Imam Al-Sadeq (pbuh) said:"He who fasts in 27 of Rajab, Allah shall write for him the reward of fasting 70 years
Fasting in 27 of Rajab is equivalent to 70 years of fasting."

Imam Al-Sadiq (pbuh) said: "Do not miss fasting the 27th of Rajab, for it is indeed the day when the prophecy descended on Mohammad (pbuhp)."

Al-Hasan Bin Rashed said: "I said to Abu Abdellah (Al-Sadiq) (pbuh): "Is there an Eid (Holiday) other than these?" He said: "Yes. There is the most honorable and perfect one which is the day when the Messenger of Allah (pbuhp) was sent as a prophet." I said: "Which day is that?" He said: "It is the day of the 27th of Rajab." I said: "What should we do on this day?" He said: "You should fast and repeatedly say:" May Allah's prayers be upon Mohammad and his household!"" 

إقبال الأعمال - السيد ابن طاووس الحسني ج 3 ص 271
مصباح المتهجد 2 : 820 ، الكافي 4 : 148 ، الفقيه 2 : 90

Abi Al-Salt said: "Abu Jaafar the second (Al-Jawad) (pbuh) fasted when he was in Baghdad the days of the 15th and 27th of Rajab and all his attendants fasted as well. He ordered us to pray a prayer (Salat) of twelve Rik'aas, reciting in each Rik'aa Al-Fatiha and another Sourah and after finishing to recite Al-Fatiha four times, Al-Tawhid, Al-Falaq and Al-Nas four times as well, and to say four times: "There is no god but Allah, Allah is the Greatest, Allah is above any description, thanks to Allah, and there is no power but in Allah. There is no god but Allah, Allah is the Greatest, Allah is above any description, thanks to Allah, and there is no power but in Allah, the Most High and the Great," and then to say four times: "Allah is my Lord.. I shall not worship anything along with Him," and to say four times: "I shall not worship anything else along with my Lord."" 


The best worship of the night before 27 of Rajab is the Ziara (visit) of Hadrat Imam Ali (pbuh).

Imam Al-Jawad (pbuh) said:"verily, the night before 27 of Rajab is the greatest night of blessings, it is the night before the day when The Messenger of Allah (PBUHP) announced his prophecy, and he who worships in this night of our Shia will take a reward of 60 years." it was said:"What is the worship in this night?" He (AS) said:"When you pray Al-Ishaa, and you go to sleep, wake up in any hour of nights, pray 12 Rik'aas, reciting in each Rik'aa Al-Fatiha once and any other Sura that you choose from Surat Mohammad to the end of Quran, when you finish recite Al-Fatiha , Al-Tawheed, Al-Kafiroun, Al-Qadr and the verse of Al-Kursi all seven times and recite this Duaa:"
All praise belongs to Allah, Who has not taken a son and does not have a partner in the Dominion, nor does He have a helper out of weakness; and magnify Him with a worthy magnification. O Allah, I ask You by: the juncture of Your might over the pillars of Your Throne, and the ultimate Mercy from Your book. And [I ask You] by Your name – the great, the majestic, the splendid. And [I ask You] by Your remembrance – the elevated, the sublime, the exalted; and by Your complete and perfect words, that You bless Mohammad and his family and do for me, what You are worthy of"
And you must fast in the Day of 27 of Rajab.