"And you shall go to your fathers in peace" (Genesis 15:15): He brought him the good tidings that his father has a portion in the World to Come. "You shall be buried in a good old age": He brought him the good tidings that Ishmael would repent in his days. "And you shall go to your fathers in peace" -- but does the soul leave the body, and that is peace? Rather, the righteous come forward to greet it and say to it, "Come in peace." And it is written, "and he was gathered to his peoples" (Genesis 25:8): all the souls return, the righteous with the righteous and the wicked with the wicked, as it is said, "and he was gathered to his peoples."
The Righteous Welcome the Soul Coming Home
Yalkut Shimoni on Torah 77:16
וְאַתָּה תָּבוֹא אֶל אֲבוֹתֶיךָ בְּשָׁלוֹם, בִּשְּׂרוֹ שֶׁיֵשׁ לְאָבִיו חֵלֶק לָעוֹלָם הַבָּא, תִּקָּבֵר בְּשֵׂיבָה טוֹבָה, בִּשְׂרוֹ שֶׁיִשְׁמָעֵאל יַעֲשֶׂה תְּשׁוּבָה בְּיָמָיו. וְאַתָּה תָּבוֹא אֶל אֲבֹתֶיךָ בְּשָׁלוֹם, וְכִי הַנֶּפֶשׁ יוֹצְאָה מִן הַגּוּף וְהוּא שָׁלוֹם אֶלָּא שֶׁהַצַּדִּיקִים מְקַדְּמִין אוֹתוֹ וְאוֹמְרִים לוֹ בֹּא בְּשָׁלוֹם, וּכְתִיב "וַיֵּאָסֶף אֶל עַמָּיו", כָּל הַנְּפָשׁוֹת חוֹזְרוֹת צַדִּיקִים עִם הַצַּדִּיקִים וְהָרְשָׁעִים עִם הָרְשָׁעִים, שֶׁנֶּאֱמַר (שם) "וַיֵּאָסֶף אֶל עַמָּיו".