Shabbos10: 1
הַמַּצְנִיעַ לְזֶרַע, וּלְדֻגְמָא, וְלִרְפוּאָה, וְהוֹצִיאוֹ בַשַּׁבָּת, חַיָּב בְּכָל־שֶׁהוּא. וְכָל אָדָם אֵין חַיָּב עָלָיו אֶלָּא כְשִׁעוּרוֹ. חָזַר וְהִכְנִיסוֹ, אֵינוֹ חַיָּב אֶלָּא כְשִׁעוּרוֹ.
One who stored [a seed to be used] for sowing, or as a sample, or for medicine, and took it out on the Sabbath, is liable for any amount. Other people, however, are not liable except for its prescribed amount. If he changed his mind and brought it in, he is not liable except for its prescribed amount.