Bava Basra7: 1
הָאוֹמֵר לַחֲבֵרוֹ: ,,בֵּית כּוֹר עָפָר אֲנִי מוֹכֵר לָךְ”, הָיוּ שָׁם נְקָעִים עֲמֻקִּים עֲשָׂרָה טְפָחִים, אוֹ סְלָעִים גְּבוֹהִים עֲשָׂרָה טְפָחִים — אֵינָן נִמְדָּדִין עִמָּהּ; פָּחוֹת מִכָּאן — נִמְדָּדִין עִמָּהּ. וְאִם אָמַר לוֹ: ,,כְּבֵית כּוֹר עָפָר”, אֲפִלּוּ הָיוּ שָׁם נְקָעִים עֲמֻקִּים יוֹתֵר מֵעֲשָׂרָה טְפָחִים, אוֹ סְלָעִים גְבוֹהִין יוֹתֵר מֵעֲשָׂרָה טְפָחִים — הֲרֵי אֵלּוּ נִמְדָּדִין עִמָּהּ.
[If] one said to another, “I am selling you a beis kor of earth,” [and] it contained cervices ten handbreadths deep, or rocks ten handbreadths high, they are not measured with it; [if they were] less than this, they are measured with it. If he said to him, “[I am selling you] like a beis kor of earth,” even if it contained crevices deeper than ten handbreadths, or rocks higher than ten handbreadths, they are measured with it.
Bava Basra7: 2
,,בֵּית כּוֹר עָפָר אֲנִי מוֹכֵר לָךְ, מִדָּה בְחֶבֶל”, פִּחֵת כָּל שֶׁהוּא — יְנַכֶּה; הוֹתִיר כָּל שֶׁהוּא — יַחֲזִיר. אִם אָמַר: ,,הֵן חָסֵר הֵן יָתֵר”, אֲפִלּוּ פָחַת רֹבַע לִסְאָה אוֹ הוֹתִיר רֹבַע לִסְאָה — הִגִּיעוֹ. יוֹתֵר מִכָּאן — יַעֲשֶׂה חֶשְׁבּוֹן. מַה הוּא מַחֲזִיר לוֹ? מָעוֹת. וְאִם רָצָה — מַחֲזִיר לוֹ קַרְקַע. וְלָמָּה אָמְרוּ מַחֲזִיר לוֹ מָעוֹת? לְיַפּוֹת כֹּחוֹ שֶׁל מוֹכֵר. שֶׁאִם שִׁיֵּר בַּשָּׂדֶה בֵּית תִּשְׁעָה קַבִּין, וּבַגִּנָּה בֵּית חֲצִי קַב, וּכְדִבְרֵי רַבִּי עֲקִיבָא בֵּית רֹבַע — מַחֲזִיר לוֹ אֶת הַקַּרְקַע. וְלֹא אֶת הָרֹבַע בִּלְבַד הוּא מַחֲזִיר, אֶלָּא אֶת כָּל הַמּוֹתָר.
[If one said to another,] “I am selling you a beis kor of earth, as measured by a rope,” [if] he gave [even] the slightest amount less he must deduct; [if] he gave [even] the slightest amount more he must give back. If he said, “whether less or more,” even if he gave a quarter-kav less per seah or a quarter-kav more per seah, it becomes his. [If it was] more than this, he should make a reckoning. What does he give back? Money. But if [the seller] prefers, he gives him back the land. Why did they say that he gives back money? To improve the position of the seller. So that if there remained an area of nine kavs in the field, or half a kav in a garden —- or a quarter-kav according to R' Akiva —- he may give him back the land. Moreover, it is not only the quar-ter-kav that he gives back, but all the excess.