Another interpretation (of Numbers 27:7): "You shall surely give them" — for they received a portion on the other side of the Jordan, and they drew near before Joshua and Eleazar in the land of Canaan, as it is said (Joshua 17:4): "And they drew near before Eleazar the priest, and before Joshua son of Nun, and before the princes, etc." And our father Jacob too knew that they would receive a portion from here and from there, as it is said (Genesis 49:22): "Daughters stepped over a wall" — this is the Jordan, which became a wall for Moses so that he would not enter the land; and [Jacob] said to [Joseph]: "Your daughters receive a portion from here and from there."
Daughters of Zelophehad Inherit on Both Sides of the Jordan
Midrash Tanchuma Buber, Pinchas 10:1
ד"א נתון תתן להם שנטלו בעבר הירדן, וקרבו לפני יהושע ואלעזר בארץ כנען, שנאמר ותקרבנה לפני אלעזר הכהן ולפני יהושע בן נון ולפני הנשיאים וגו' (יהושע יז ד), ואף יעקב אבינו ידע שנוטלות מיכאן ומיכאן, שנאמר בנות צעדה עלי שור (בראשית מט כב), זה הירדן שנעשה למשה שור שלא יכנס לארץ ואמר לו [יעקב ליוסף] בנותיך נוטלות מיכאן ומיכאן.