Ziyad bin Jubayr reported,

I was with Ibn Umar when a man asked him, "I vowed to fast every Tuesday or Wednesday for as long as I live, and this day has fallen on the Day of Sacrifice."Ibn Umar replied, "Allah has commanded the fulfillment of vows, and we have been forbidden to fast on the Day of Sacrifice."The man repeated his question, and Ibn Umar gave the same answer, adding nothing more.

Bukhari 6706

Sahih

حدثنا عبد الله بن مسلمة حدثنا يزيد بن زريع عن يونس

عن زياد بن جبير قال

كنت مع ابن عمر فسأله رجل فقال نذرت أن أصوم كل يوم ثلاثاء أو أربعاء ما عشت فوافقت هذا اليوم يوم النحر فقال أمر الله بوفاء النذر ونهينا أن نصوم يوم النحر فأعاد عليه فقال مثله لا يزيد عليه

البخاري 6706صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Oaths and vows
Chapter
Who vowed to fast for days and it coincided with Eid al-Adha or Eid al-Fitr
Numbering
Darussalam 6706
Bukhari 6706