[Machine] Does it come upon him on a day he fasts on it, but that happens to be either the day of sacrifice or the day of breaking the fast? Ibn 'Umar replied, "Indeed you have in the Messenger of Allah a good example." (Al-Ahzab 21) The Messenger of Allah ﷺ did not fast on the day of sacrifice or the day of breaking the fast, nor did he command to fast on both of them.
يَأْتِيَ عَلَيْهِ يَوْمٌ سَمَّاهُ إِلَّا وَهُوَ صَائِمٌ فِيهِ فَوَافَقَ ذَلِكَ يَوْمَ أَضْحَى أَوْ يَوْمَ فِطْرٍ؟ فَقَالَ ابْنُ عُمَرَ ؓ {لَقَدْ كَانَ لَكُمْ فِي رَسُولِ اللهِ أُسْوَةٌ حَسَنَةٌ} [الأحزاب 21] لَمْ يَكُنْ رَسُولُ اللهِ ﷺ يَصُومُ يَوْمَ الْأَضْحَى وَلَا يَوْمَ الْفِطْرِ وَلَا يَأْمُرُ بِصِيَامِهِمِا