Bereshit / Genesis 50:25 · Drash
וַיַּשְׁבַּע יוֹסֵף אֶת־בְּנֵי יִשְׂרָאֵל לֵאמֹר פָּקֹד יִפְקֹד אֱלֹהִים אֶתְכֶם וְהַעֲלִתֶם אֶת־עַצְמֹתַי מִזֶּה׃
And Yosef made the sons of Israel swear, saying: "The Almighty will surely remember you, and you shall carry up my bones from here."
Drash דְּרָשׁ
"Rise up, ox!"
Hundreds of years later, on the night of the exodus, Yosef's oath had to be kept. But where were his bones? The midrash tells who remembered, and how the coffin rose from the bottom of the Nile.
Bereshit Rabbah: "you" (אֶתְכֶם) teaches: not at once, but when you go up, and that together with Yosef they carried up the bones of all the tribal fathers. Tanchuma: only Serach, daughter of Asher, remembered where Yosef was. The Egyptians had sunk his metal coffin in the Nile. Moshe threw into the water a pebble with the words "rise up, ox", called to Yosef, and the coffin floated up.
How Bereshit Rabbah and Midrash Tanchuma explain it
Bereshit Rabbah
"And Yosef adjured the sons of Israel" and so on. Might I understand: at once? The verse teaches: "you" (אֶתְכֶם), when you go up. And from where do we know that the bones of the tribal fathers were also carried up with him? It says: "you". "And Yosef died, a hundred and ten years old, and they embalmed him." Who embalmed him? Rabbi Pinchas and Rabbi Yehuda in the name of Rabbi Nechemyah. Rabbi Yehuda said: physicians embalmed him. And Rabbi Pinchas said: the tribal fathers embalmed him, as it says: "and they embalmed him, and he was put in a coffin in Egypt". And who are they? "And these are the names of the sons of Israel who came to Egypt."
Midrash Tanchuma
"And Moshe took the bones of Yosef" (Shemot / Exodus 13:19). How did Moshe know where Yosef was buried? They said: Serach, daughter of Asher, survived from that generation, and she told Moshe where Yosef was buried. The Egyptians had made him a coffin of metal and sunk it in the Nile. Moshe came and stood over the Nile. He took a pebble, engraved on it "rise up, ox" (עֲלֵה שׁוֹר), and cried out: "Yosef, Yosef! The time has come when the Holy One, blessed is He, redeems His children. The Shechinah is waiting for you, Israel and the clouds of glory are waiting for you. If you reveal yourself, good. And if not, we are free of your oath." At once Yosef's coffin floated and rose. And do not wonder, for it says: "And as one was felling a beam, the iron fell into the water. And he cried out and said: 'Alas, my master, it was borrowed!' And the man of the Almighty said: 'Where did it fall?' And he cut off a stick and threw it there, and the iron floated" (Melachim II / II Kings 6:5–6). And this is an argument from the lesser to the greater: if Elisha, the disciple of Eliyahu, made the iron float, how much more Moshe, the teacher of Eliyahu.
Takeaway
Why "ox"? In his blessing Moshe will call Yosef so: "his firstborn ox (שׁוֹרוֹ), majesty is his" (Devarim / Deuteronomy 33:17).
Serach, daughter of Asher, is named among those who came to Egypt with Yaakov (Bereshit / Genesis 46:17), and again in the census in the wilderness (Bamidbar / Numbers 26:46). The midrash sees in her the living memory of the generations.
While the whole people gathered the silver and gold of Egypt, Moshe busied himself with Yosef's bones. The sages cite a verse about this: "the wise of heart takes commandments" (Mishlei / Proverbs 10:8).