"Is it a small thing that you have taken," etc. (Genesis 30:15). Leah said to Rachel: Is it not enough for you that you took my husband, whose heart was drawn after you? Rachel said to Leah: Leah, he is not your husband but my husband, and for my sake he came from Beersheba; and only because I handed over to you the signs did he become your husband. "Therefore he shall lie with you tonight." Because it was Jacob's custom to lie with Leah one night and with Rachel one night, and that night was Rachel's night, and she gave him over to Leah in exchange for the mandrakes.
Leah and Rachel Bargain Over the Mandrakes and Jacob's Night
Midrash Aggadah, Genesis 30:15
המעט קחתך וגו'. אמרה לאה לרחל לא דייך שלקחת את אישי שנמשך לבו אחריך, אמרה רחל ללאה לא לאה אישך הוא אלא אישי, ובעבורי בא מבאר שבע, ועל ידי שמסרתי לך הסימנים נעשה אישך: לכן ישכב עמך הלילה. לפי שהיה מנהג יעקב לישכב עם לאה לילה [אחת], ועם רחל לילה אחת, ואותה הלילה של רחל היתה, והניחתו ללאה תחת הדודאים: