The Koichijo-tei was the house that FUJIWARA no Uchimaro bought and gave to his son, Fuyutsugu, because when Fuyutsugu was an udoneri (ministerial equerry), on his way to sandai (a visit to the Imperial Palace), he was called on by Munakata no Okami from the (empty) sky and received an oracle that if he asked his father to buy him the Koichijo-tei and lived there and enshrined the Munakata no Okami near by, he will be protecting his children's children.
小一条第は藤原内麻呂が息子の冬嗣に買い与えた邸宅であるが、その理由は、冬嗣がまだ内舎人であった頃、参内の途中で虚空から宗像大神が呼びかけ、父に頼んで小一条第を買ってもらい、そこに居住して傍らに宗像大神を祀れば、子々孫々にわたって守護しようとの神託があったためである。