וַיְהִ֞י הֵ֣ם ׀ קֹבְרִ֣ים אִ֗ישׁ וְהִנֵּה֙ רָא֣וּ אֶֽת־הַגְּד֔וּד וַיַּשְׁלִ֥יכוּ אֶת־הָאִ֖ישׁ בְּקֶ֣בֶר אֱלִישָׁ֑ע וַיֵּ֜לֶךְ וַיִּגַּ֤ע הָאִישׁ֙ בְּעַצְמ֣וֹת אֱלִישָׁ֔ע וַיְחִ֖י וַיָּ֥קָם עַל־רַגְלָֽיו׃ (פ)
И было, когда они хоронили человека, вот, они увидели группу; и бросили человека во гроб Елисейского; и как только этот человек коснулся костей Елисея, он воскрес и встал на ноги.
Rashi
ויהי השמש באה AND IT CAME TO PASS, WHEN THE SUN WENT DOWN —Similar syntactical constructions are (42:35) ויהי הם מריקים שקיהם “And it came to pass when they were emptying their sacks”, and (2 Kings 13:21) ויהי הם קוברים איש “and it came to pass when they were burying a man” — as much as to say, and this thing happened (i. e. after ויהי supply the words דבר זה: “And this thing happened: the sun set etc.”)
Rabbeinu Bahya
וקברתני בקבורתם, “and bury me in their burial vault.” Our sages used this verse to tell us that the righteous ought to arrange that they be buried alongside other righteous people. We have a verse in Kings II 13,21 describing that someone who had been thrown into a grave next to that of the prophet Elisha emerged resurrected through having contacted the remains of the prophet. This is also what the false prophet said before he died when he requested to be buried alongside the true prophet. He had said: “you shall bury me in the grave of the prophet.” According to this interpretation the temporary resurrection of the sinner in question served the purpose of preventing him remaining buried next to the righteous man, the true prophet Elisha. (Compare Sanhedrin 47 on details of this story.)