סימן סז סעיף ו
אֵין הַנֵּדֶר חָל אֶלָּא אִם הָיָה פִּיו וְלִבּוֹ שָׁוִים. אֲבָל אִם נָדַר בְּטָעוּת, שֶׁלֹּא הָיָה דַּעְתּוֹ כְּמוֹ שֶׁהוֹצִיא בִּשְׂפָתָיו, אוֹ שֶׁהִרְהֵר בְּלִבּוֹ נֶדֶר וְלֹא הוֹצִיאוֹ בִּשְׂפָתָיו, אֵין זֶה נֵדֶר.
A vow is not valid unless the "mouth and heart were as one."13I.e. you meant what you said. But if you vowed mistakenly [that is,] your intention was not the same as the utterance of your lips, or if you only thought of making a vow, but did not utter it with your lips, this is not [considered] a vow.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)