Avodah Zarah5: 10
יֵין נֶסֶךְ שֶׁנָּפַל לַבּוֹר — כֻּלּוֹ אָסוּר בַּהֲנָאָה. רַבָּן שִׁמְעוֹן בֶּן גַּמְלִיאֵל אוֹמֵר: יִמָּכֵר כֻּלּוֹ לְנָכְרִי חוּץ מִדְּמֵי יֵין נֶסֶךְ שֶׁבּוֹ.
[If] nesech-wine fell into a cistern [of ordinary wine], all of it is prohibited for benefit. Rabban Shimon ben Gamliel says: It should all be sold to a gentile except for the value of the nesech-wine that is in it.