Which classic does Wang Yangming's allusion to Jinshan Temple come from?

Mr. Wang Yangming once went to worship in Jinshan Temple and felt that the scenery in the temple was very familiar, and everything seemed familiar. Wandering around, I came to a closed room, only to see a seal at the door of the room, looking around, as if I had lived. Wang Yangming finally couldn't hold back his curiosity, and let Zhike master make a switch room to see what happened. Zhike master hurriedly apologized and said:

"I'm sorry that this closed room is where one of our ancestors died 50 years ago. All his relics are enshrined in it. His father's will says it cannot be opened. Please forgive me and never open it. "

"Since the house has doors and windows, there is a reason why it can never be opened? Anyway, please kindly drive down and have a look today! "

Due to Wang Yangming's repeated requests, Master Zhike, out of kindness, could not disobey, so he had to open the door and let Wang Yangming in. In the hazy sunset, I saw a dead old monk sitting on the futon as usual. Wang Yangming saw it, hey! Why do you look so much like yourself? Looking up, there is a poem on the wall that reads:

"Fifty years later, Wang Yangming, who opened the door, is still behind closed doors; The elves came back after closing the door, and they believed that Zen was not bad. "

It turns out that Wang Yangming's former life was an old monk who meditated. He used to be closed, but he still comes from Kailai today, leaving a little proof for future generations. To commemorate this event, Wang Yangming once left a poem in Jinshan Temple:

"Jinshan is as big as a fist, breaking the underwater sky; Leisure depends on the wonderful platform. Last month, Yu Di blew through the hole and the dragon slept. "