Okisome no omi Taime was the daughter of a nun named Hōni, the presiding officer3 of the nunnery of Tomi in the capital of Nara. She was so devoted in her pursuit of the path of Buddha that she preserved her chastity. She used to collect herbs every day and serve them to the Most Venerable Gyōgi.
One day she went to the mountain to collect herbs and saw a large snake swallowing a big frog. She entreated the snake, “Please set the frog free for my sake.” But the snake would not. She entreated again, saying, “I will become your wife if you do me the favor of letting the frog go.” On hearing that, the large snake raised its head high to see her face and disgorged the frog. Whereupon she said to the snake, “Come to me in seven days.”
On the appointed day, she hid herself in the house with all the openings closed. The snake came as expected and knocked on the wall with its tail. The next morning, terrified, she went to her master, who lived at the mountain temple of Ikoma. He said to her, “You cannot break your promise. Only be strict in observing the precepts.” Therefore, she reaffirmed her faith in the Three Treasures and her acceptance of the five precepts, and returned home.
On the way she met a strange old man with a big crab. She said, “Who are you, old man? Will you please set the crab free for me?”
He answered, “I am Edoi no Nimaro from Uhara district, Settsu province. At the age of seventy-eight I had neither sons to depend upon nor the means of making a living. In Naniwa I happened to find this crab. I cannot give it to you, for I have promised it to someone.” She took off her robe, begging him to sell her the crab in exchange for her robe, but he would not listen. She then took off her skirt to add to its price, and he finally agreed to her offer. Thereupon, she brought the crab back home and invited the Most Venerable Gyōgi to hold a service for it, setting it free with a prayer. Impressed with her deed, the master exclaimed, “How noble! How good !”
That evening the snake came back again, climbed to the roof, and dropped into the house by pulling off part of the thatched roof. The terrified girl heard something jumping and flapping around in her bed, and the next morning she found a big crab and a large snake that had been chopped into pieces. Then she realized that the crab she had liberated had come to her rescue out of gratitude. This was also due to the virtue gained by keeping the precepts. Although she wanted to unravel the mystery and tried to identify the old man, she could not find him. It was evident he was an incarnation of Buddha. This is a miraculous event. (Page 171-173)
Miraculous Stories from the Japanese Buddhist Tradition (Nihon ryōiki)