Devarim22:7

שַׁלֵּחַ תְּשַׁלַּח אֶת־הָאֵם וְאֶת־הַבָּנִים תִּקַּח־לָךְ לְמַעַן יִיטַב לָךְ וְהַאֲרַכְתָּ יָמִים׃

You shall surely send away the mother, and take the young for yourself, so that it may be well with you and you may lengthen your days.

Devarim 22:7

שַׁלֵּחַ תְּשַׁלַּח אֶת־הָאֵם

Devarim / Deuteronomy 22:7 · Drash

Devarim 22:7

שַׁלֵּחַ תְּשַׁלַּח אֶת־הָאֵם וְאֶת־הַבָּנִים תִּקַּח־לָךְ לְמַעַן יִיטַב לָךְ וְהַאֲרַכְתָּ יָמִים׃

You shall surely send away the mother, and take the young for yourself, so that it may be well with you and you may lengthen your days.

Drash דְּרָשׁ

The king and the planters

If you knew the price of every deed, you would pick only the most profitable ones. The midrash explains why the prices are not told to us.

Midrash Tanchuma (Buber): every limb of the body asks for a mitzvah, every day of the year asks not to sin. A king paid a gold coin for one small tree, and the workers understood how great the pay for many trees would be. So it is with the lightest mitzvah. Therefore the reward of the mitzvot is not revealed: so that they are done from the heart.

How Midrash Tanchuma (Buber) explain it

Midrash Tanchuma (Buber) If a bird's nest happens before you, and so on, send away the mother

Of this the verse says: "Above all that you guard, guard your heart, for from it are the sources of life" (Mishlei / Proverbs 4:23). Rabbi Abba said: the two hundred and forty-eight positive mitzvot in the Torah correspond to the limbs of a person. Each limb cries out to the person: "Do a mitzvah with me, so that we may live by its merit and you may lengthen your days." And the three hundred and sixty-five prohibitions are as the number of days of the solar year. Each day the sun rises, and until it sets it speaks and cries out to the person: "I adjure you by the One who let me reach this day: do not commit this sin on me, do not tip me and the whole world to the scale of guilt." That makes six hundred and thirteen mitzvot.

And for each mitzvah its reward is mentioned. For example, honoring father and mother and sending away the bird from the nest: long days. There is a mitzvah whose reward is children: so Sarah hosted guests, and the Shunammite woman received Elisha. And there is a sin that carries stoning, burning, the sword or strangling. And among all the mitzvot none is lighter than sending away the bird from the nest. And what is its reward? "So that it may be well with you and you may lengthen your days."

A parable: what is this like? A king brought workers into his field to plant it and did not reveal to them the pay for planting. In the evening, to everyone who planted one tree he gave one gold coin. They all began to wonder and say: "If this one, who planted only one light and small tree, took a gold coin, then we who planted much — all the more." If the reward for sending away the bird is long days, the reward for a mitzvah that involves expense, toil and saving a life — all the more.

Therefore the Holy One, blessed is He, did not reveal the reward of the Torah's mitzvot: so that Israel would do them of themselves and multiply the reward. For so we learned: "Do not be like servants who serve the master," and so on. Therefore it is written: "Above all that you guard, guard your heart, for from it are the sources of life."

Takeaway

613 mitzvot: 248 positive and 365 prohibitions. The link of these numbers to the limbs and the days of the year is also in the Talmud (Makkot 23b).
Sarah hosted wayfarers (Bereshit / Genesis 18) and was promised a son. The Shunammite woman made a room for the prophet Elisha, and he promised her a son (Melachim II / II Kings 4:8–17).
"Do not be like servants who serve the master for a reward" are the words of Antigonus of Sokho in the Mishnah (Avot 1:3).
The parable explains why the Torah names the reward precisely of the lightest mitzvah: from it one can judge all the others.