Yerushalmi Chagiga 2:1 -9a
so this happened to me:
My father Abuyah was one of the notables of Jerusalem. On the day he came to circumcise me, he called all the notables in Jerusalem and sat them on one house; and Rabi Eliezer and Rabi Yehoshua in another house. After they ate and drunk, they sang, and clapped their hands and danced. Rabi Eliezer said to Rabi Yehoshua: Since they are occupied with what is theirs, let's occupy ourselves with what is ours. And they sat and occupied themselves with words of Torah. From Torah to Prophets. And from Prophets to Writings. And a fire came from heaven, and enveloped them. Abuyah said to them: My teachers, why have you came to burn my house down on me? They said to him: Chas v'shalom! [Mercy and peace!] Rather, we were sitting and going over words of Torah, and from Torah to Prophets and from Prophets to Writings and the words were as joyful as when they were given on Sinai, and the fire was consuming them as they were consumed in Sinai, and the main thing of their being given in Sinai was solely [being given] on fire "And the mountain was on fire up to the heart of heaven" (Deut. 4:11) My father Abuya said to them: My teachers, if the power of Torah is such - if this child remains alive for me, I will dedicate him to Torah. Since his intention was not for Heaven, Torah did not remain alive in that man.
...
After they buried [Acher] a fire came down from heaven and burned his grave. They came and said to Rabbi Meir: Behold, your teacher's grave is burning. He left, desiring to visit it, and found it burning. What did he do? He took his cloak and spread it upon it [Note the similarity to Ruth 3:9] … at the grave Rebbi Meir expounded the verse (Ruth 3:13) "Stay the night" - in this world , which resembles night. "Then in the morning" - this is the World to Come, which is completely morning. "If he redeems you, good" - This refers to Hakadosh Baruch Hu, who is good, as it says, "He is good to all, and His mercy is upon all His creatures" [Tehillim. 145:9]. "But if he does not want to redeem you, I will redeem you myself, as God lives!"
And [the fire] was extinguished
אחר קיצץ בנטיעות עליו הכתוב אומר (קהלת ה, ה) אל תתן את פיך לחטיא את בשרך מאי היא חזא מיטטרון דאתיהבא ליה רשותא למיתב למיכתב זכוותא דישראל אמר גמירא דלמעלה לא הוי לא ישיבה ולא תחרות ולא עורף ולא עיפוי שמא חס ושלום ב' רשויות הן אפקוהו למיטטרון ומחיוהו שיתין פולסי דנורא א"ל מ"ט כי חזיתיה לא קמת מקמיה איתיהיבא ליה רשותא למימחק זכוותא דאחר יצתה בת קול ואמרה (ירמיהו ג, יד) שובו בנים שובבים חוץ מאחר אמר הואיל ואיטריד ההוא גברא מההוא עלמא ליפוק ליתהני בהאי עלמא נפק אחר לתרבות רעה נפק אשכח זונה תבעה אמרה ליה ולאו אלישע בן אבויה את עקר פוגלא ממישרא בשבת ויהב לה אמרה אחר הוא
§ The Gemara stated earlier that Aḥer chopped down the saplings, becoming a heretic. With regard to him, the verse states: “Do not let your mouth bring your flesh into guilt” (Ecclesiastes 5:5). The Gemara poses a question: What was it that led him to heresy? He saw the angel Mitatron, who was granted permission to sit and write the merits of Israel. He said: There is a tradition that in the world above there is no sitting; no competition; no turning one’s back before Him, i.e., all face the Divine Presence; and no lethargy. Seeing that someone other than God was seated above, he said: Perhaps, the Gemara here interjects, Heaven forbid, there are two authorities, and there is another source of power in control of the world in addition to God. Such thoughts led Aḥer to heresy. The Gemara relates: They removed Mitatron from his place in heaven and smote him with sixty rods [pulsei] of fire, so that others would not make mistake that Aḥer made. They said to the angel: What is the reason that when you saw Elisha ben Avuya you did not stand before him? Despite this conduct, since Mitatron was personally involved, he was granted permission to erase the merits of Aḥer and cause him to stumble in any manner. A Divine Voice went forth saying: “Return, rebellious children” (Jeremiah 3:22), apart from Aḥer. Upon hearing this, Elisha ben Avuya said: Since that man, meaning himself, has been banished from that world, let him go out and enjoy this world. Aḥer went astray. He went and found a prostitute and solicited her for intercourse. She said to him: And are you not Elisha ben Avuya? Shall a person of your stature perform such an act? He uprooted a radish from a patch of radishes on Shabbat and gave it to her, to demonstrate that he no longer observed the Torah. The prostitute said: He is other than he was. He is not the same Elisha ben Avuya, he is Aḥer, other.
(יב) שֹׁ֤בְנָה בְנֹתַי֙ לֵ֔כְןָ כִּ֥י זָקַ֖נְתִּי מִהְי֣וֹת לְאִ֑ישׁ כִּ֤י אָמַ֙רְתִּי֙ יֶשׁ־לִ֣י תִקְוָ֔ה גַּ֣ם הָיִ֤יתִי הַלַּ֙יְלָה֙ לְאִ֔ישׁ וְגַ֖ם יָלַ֥דְתִּי בָנִֽים׃ (יג) הֲלָהֵ֣ן ׀ תְּשַׂבֵּ֗רְנָה עַ֚ד אֲשֶׁ֣ר יִגְדָּ֔לוּ הֲלָהֵן֙ תֵּֽעָגֵ֔נָה לְבִלְתִּ֖י הֱי֣וֹת לְאִ֑ישׁ אַ֣ל בְּנֹתַ֗י כִּֽי־מַר־לִ֤י מְאֹד֙ מִכֶּ֔ם כִּֽי־יָצְאָ֥ה בִ֖י יַד־ה'׃ (יד) וַתִּשֶּׂ֣נָה קוֹלָ֔ן וַתִּבְכֶּ֖ינָה ע֑וֹד וַתִּשַּׁ֤ק עָרְפָּה֙ לַחֲמוֹתָ֔הּ וְר֖וּת דָּ֥בְקָה בָּֽהּ׃ (טו) וַתֹּ֗אמֶר הִנֵּה֙ שָׁ֣בָה יְבִמְתֵּ֔ךְ אֶל־עַמָּ֖הּ וְאֶל־אֱלֹקֶ֑יהָ שׁ֖וּבִי אַחֲרֵ֥י יְבִמְתֵּֽךְ׃ (טז) וַתֹּ֤אמֶר רוּת֙ אַל־תִּפְגְּעִי־בִ֔י לְעָזְבֵ֖ךְ לָשׁ֣וּב מֵאַחֲרָ֑יִךְ כִּ֠י אֶל־אֲשֶׁ֨ר תֵּלְכִ֜י אֵלֵ֗ךְ וּבַאֲשֶׁ֤ר תָּלִ֙ינִי֙ אָלִ֔ין עַמֵּ֣ךְ עַמִּ֔י וֵאלֹקַ֖יִךְ אֱלֹקָֽי׃
(18) and she carried it back with her to the town. When her mother-in-law saw what she had gleaned, and when she also took out and gave her what she had left over after eating her fill, (19) her mother-in-law asked her, “Where did you glean today? Where did you work? Blessed be he who took such generous notice of you!” So she told her mother-in-law whom she had worked with, saying, “The name of the man with whom I worked today is Boaz.” (20) Naomi said to her daughter-in-law, “Blessed be he of the LORD, who has not failed in His kindness to the living or to the dead! For,” Naomi explained to her daughter-in-law, “the man is related to us; he is one of our redeeming kinsmen.”