According to 'Genko Shakusho' (a history of Japanese Buddhism), the temple's halls stood in the middle of the streets and became a nuisance during the construction of the capital of Heiankyo, then black clouds appeared to shift them approximately 15 meters to the north.
「元亨釈書」によれば、平安京造営の際、堂宇が街路の中央にあたり邪魔になったが、黒雲が現れて北方へ約5丈運んだとある。