According to convinced Ahadith, these pious festivals were instigated in Madinah after migration. Anas reports that: When the Prophet Muhammad arrived at the city of Madinah, he found some people celebrating two explicit days in which people used to amuse and entertain by merriment and playing. Prophet Muhammad asked people regarding the nature of these sorts of celebrations and merriment at which people responded that these festivities were occasions of recreation and fun of days of jahilliyah. At this point, the Prophet Muhammad remarked that the Almighty God has set two days of holidays instead of these festivities for people, one is Eid-ul-Fitr and the other one is Eid-ul-Adha.
All Muslims fast on daily basis every year in the holy month of Ramadhan from dawn to the dusk. Fasting involves abstaining from beverages, food and sexual relations. By withholding from some of the carnal and basic desires and needs, Muslims develop self-discipline or self-control: the ability to prevent from doing something one deeply and intensely desire, purely out of compliance to the Creator. This month-long exercise of fasting helps in developing and strengthening to live a life of wholesomeness and obedience to Almighty God regardless of the lure towards sin. Those people who are sick, traveling, and elderly or women who are nursing and pregnant are allowed to break the fast and cover up the missed days of Ramadhan at some later time. If they are incapable to do this later, they must provide food to a needy one for every missed day.
Children are obligated to begin their fasting from the very age of puberty. Even though fasting is advantageous to health, it is considered chiefly as a way of spiritual self refinement. According to history, Eid-ul-Fitr is a festival which has its own essence of merriment and enjoyment and this activity is dated back to many centuries. It is being celebrated with much zeal and warmness all across the world but as the time have changed now, the ways and customs involving Eid-ul-Fitr has also changed but the basic idea of festivities remains the same.
According to Muslim belief, they are commanded by Almighty God to do the fasting until the conclusion of Ramadhan as mentioned in Holy Qur’an and also pay Zakat-al-fitr before offering the Eid prayer. There are lots of things which revolve around this festivity. Fasting is believed by some scholars to praise fundamental distinctions and lauding the power of religious realm, while admitting the subordination of physical realm.