The Prophet (peace and blessings be upon him) forbade fasting on the day of Eid al-Fitr and the day of sacrifice.