Avodah Zarah 1:2
Avodah Zarah1: 2
רַבִּי יִשְׁמָעֵאל אוֹמֵר: שְׁלשָׁה יָמִים לִפְנֵיהֶם וּשְׁלשָׁה יָמִים לְאַחֲרֵיהֶם אָסוּר. וַחֲכָמִים אוֹמְרִים: לִפְנֵי אֵידֵיהֶן אָסוּר, לְאַחַר אֵידֵיהֶן מֻתָּר.
R’ Yishmael says: It is forbidden [for] three days preceding them, and for three days following them. But the Sages say: Before their festivals is forbidden, [but] after their festivals is permitted.