"And she said to her, Is it a small matter that you have taken my husband?" (Genesis 30:15). You have brought before me what is mine. Rabbi Shimon ben Yochai taught: because she belittled the righteous one, she does not enter the grave together with him. This is why she said to her, "Therefore he shall lie with you tonight" - with you he shall lie, but not with me. Rabbi Berekhiah said: this one lost and that one lost, this one gained and that one gained. Leah lost the mandrakes and gained tribes and the birthright, and so on. Rabbi Shmuel bar Nachmani said: Leah lost the mandrakes and gained tribes and burial, and so on.
Leah and Rachel Bargain Over the Mandrakes
Yalkut Shimoni on Torah 129:2
(בראשית ל טו) וַתֹּאמֶר לָהּ הַמְעַט קַחְתֵּךְ אֶת אִישִׁי. הֵבֵאת לְפָנַי מִן דַאקְנִי תָּנִי רַבִּי שִׁמְעוֹן בֶּן יוֹחַאי, לְפִי שֶׁזִלְזְלָה בַּצַּדִּיק, אֵינָהּ נִכְנֶסֶת עִמּוֹ לִקְבוּרָה. הוּא דְּהִיא אָמְרָה לָהּ לָכֵן יִשְׁכַּב עִמָּךְ הַלַּיְלָה, עִמָּךְ הוּא דָּמִיךְ, עִמִּי לֵית הוּא דָּמִיךְ רַבִּי בֶּרֶכְיָה אָמַר, זוֹ הִפְסִידָה וְזוֹ הִפְסִידָה, זוֹ נִשְׂתַּכְּרָה וְזוֹ נִשְׂתַּכְּרָה, לֵאָה הִפְסִידָה דּוּדָאִים וְנִשְׂתַּכְּרָה שְׁבָטִים וּבְכוֹרָה וְכוּ'. רַבִּי שְׁמוּאֵל בַּר נַחְמָנִי אָמַר, לֵאָה הִפְסִידָה דּוּדָאִים וְנִשְׂתַּכְּרָה שְׁבָטִים וּקְבוּרָה וְכוּ'.