Nobody was allowed to fast on the days of Tashriq except those who could not afford the Hadi (Sacrifice).
Sahih al-Bukhari Book 30, Hadith 103