Ziyad bin Jubayr reported,

A man came to Ibn Umar رضي الله عنهم and said, "I vowed to fast on a particular day, but it happened to fall on the day of Adha or Fitr."Ibn Umar replied, "Allah the Exalted has commanded the fulfillment of vows, and the Messenger of Allah ﷺ forbade fasting on this day."

Azami 4495

Sahih

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

جاء رجل إلى ابن عمر رضي الله عنهما، فقال: إني نذرت أن أصوم يوما، فوافق يوم أضحى أو فطر. فقال ابن عمر: أمر الله تعالى بوفاء النذر، ونهي رسول الله ﷺ عن صوم هذا اليوم.

الأعظمي 4495صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Prohibited fasts
Section
Prohibition of fasting on the two Eids
Numbering
Jami al-Kamil 4495 (2nd edition)
Azami 4495