I remember hearing/seeing a מעשה about someone who constantly reviewed מסכת חגיגה to the point of knowing it בעל פה.
One day he died and no one knew about it,
when an unknown woman suddenly appeared in the marketplace
crying out that a great תלמיד חכם was נפטר, and should be given a great לווייה/mourned.
Afterwards, they asked the woman how she knew this person, and she said her name is חגיגה.
The lesson I think was about how the תורה protects the people who learn it, or something like that.
I have been looking everywhere for this story, no idea where it's from, feel like it's from a ספר.
Is anyone familiar with this?