Nedarim2: 3
יֵשׁ נֶדֶר בְּתוֹךְ נֶדֶר, וְאֵין שְׁבוּעָה בְּתוֹךְ שְׁבוּעָה. כֵּיצַד? אָמַר: ,,הֲרֵינִי נָזִיר אִם אֹכַל, הֲרֵינִי נָזִיר אִם אֹכַל”, וְאָכַל — חַיָּב עַל כָּל אַחַת וְאֶחָת. ,,שְׁבוּעָה שֶׁלֹּא אֹכַל, שְׁבוּעָה שֶׁלֹּא אֹכַל”, וְאָכַל — אֵינוֹ חַיָּב אֶלָּא אֶחָת.
There is a neder within a neder, but there is not an oath within an oath. How? If he said: “I am a Nazirite if I eat, I am a Nazirite if I eat,” and he eats —- he is bound by each [declaration]. “Shevuah, that I shall not eat, shevuah, that I shall not eat,” and he ate —- he is liable only for one.