Reference for Berakhot 80:14
<big><strong>גמ׳</strong></big> תנו רבנן על דבר שאין גדולו מן הארץ כגון בשר בהמות חיות ועופות ודגים אומר שהכל נהיה בדברו על החלב ועל הביצים ועל הגבינה אומר שהכל על הפת שעפשה ועל היין שהקרים ועל התבשיל שעבר צורתו אומר שהכל על המלח ועל הזמית ועל כמהין ופטריות אומר שהכל למימרא דכמהין ופטריות לאו גדולי קרקע נינהו והתניא הנודר מפירות הארץ אסור בפירות הארץ ומותר בכמהין ופטריות ואם אמר כל גדולי קרקע עלי אסור אף בכמהין ופטריות
GEMARA Our Rabbis have taught : Over anything whose growth is not food the earth, e.g. the flesh of cattle, beasts, birds and fish, one says "...By Whose word all things exist." Over milk, eggs and cheese, one says "...By Whose word." Over bread which has become mouldy, wine over which a film has formed, and cooked food which has gone bad, one says "...By Whose word." Over salt, brine, morils and truffles, one says "...By Whose word." That is to say that morils and truffles are not grown from the soil. There is, however, a teaching : He who vows not to eat fruits grown from the earth is forbidden to eat the fruits of the earth but is allowed morils and truffles; if he declares, "All that is grown from the earth shall be forbidden me," he is also prohibited from eating morils and truffles !