According to legend, when Prince Shōtoku 聖徳太子 was a child on Awaji Island he found a small Chinese chest which had floated ashore. Opening the lid, the prince found a gold image about 5.5 cm long of the Nyoirin Kannon, which he decided to keep as a sacred Buddhist image or amulet. He prayed to the Kannon to bring him success in his life ahead, promising Kannon that he would build Shitenno-ji Temple (in the area of present Osaka) if he was successful.
In 587, Prince Shotoku decided to build the great temple of Shitennoji in Osaka and in order to find building materials the prince journeyed out from Osaka. It was a very hot day and the prince stopped by a pond to cool down. He took off his clothes and also the precious amulet he had received in order to bathe in the pond. He placed his clothes, and with them the Nyoirin Kannon on a tree near to the pond. After he had a swim, he went to put on his clothes and put the Nyoirin Kannon back in his pocket but for some reason suddenly the Kannon seemed to be too heavy to pick up and the prince was unable to continue. So the prince decided to spend the night there beside the pond and await the morning.
During the night he dreamed that Nyoirin Kannon appeared to him saying, “With this amulet I have given you, I have protected many generations but now I wish to remain in this place. You must build a six sided temple and enshrine me within this temple. Many people will come here and be healed.” So Prince Shotoku built the temple and enshrined Nyoirin Kannon within it.
In 1204, when he was 29 years old, Shinran Shonin (1173 - 1263) decided to spend 100 days in seclusion or privacy at Rokkakudo Temple. On the 95th day, Kannon appeared to Shinran in a dream and told him to forgo his vow of celibacy and marry. She told him that she would appear to him in the form of a woman and they would become lovers and enter into Amida’s Paradise. She then told him that he should seek out Honen, his teacher, and found a new order of Buddhism that encouraged clerical marriage and family life. There is a small hexagonal hall at Rokkakudo with two statues of Shinran – one seated in a dream trance and one standing with walking staff and beads.