Hakim bin Abi Hurrah al-Aslami heard a man asking Abdullah bin Umar (may Allah be pleased with him) about a man who named a day and said he would fast on it, and that day fell on Eid al-Adha or Eid al-Fitr. Ibn Umar (may Allah be pleased with him) said: "Indeed, in the Messenger of Allah you have an excellent example" [Surah al-Ahzab: 21]. "The Prophet (peace and blessings be upon him) did not fast on Eid al-Fitr or Eid al-Adha, nor did he order fasting on those days."
(b) Imran bin Husayn (may Allah be pleased with him) narrates from the Prophet (peace and blessings be upon him): "A vow is not fulfilled in disobedience to Allah, nor in what the son of Adam does not own."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النذور / 20143