Nedarim9: 6
פּוֹתְחִין בְּיָמִים טוֹבִים וּבַשַּׁבָּתוֹת. בָּרִאשׁוֹנָה הָיוּ אוֹמְרִים: אוֹתָן הַיָּמִים — מֻתָּרִין, וּשְׁאָר כָּל הַיָּמִים — אֲסוּרִין; עַד שֶׁבָּא רַבִּי עֲקִיבָא וְלִמֵּד, שֶׁהַנֶּדֶר שֶׁהֻתַּר מִקְצָתוֹ — הֻתַּר כֻּלּוֹ.
They can find grounds to annul a neder by [reason of] festivals or Sabbaths. At first they used to say: Those days are permitted, but all the other days are forbidden —- until R' Akiva came and taught that a neder which has been nullified in part is nullified in its entirety.