Prince Shōtoku
"Biography of Prince Shōtoku" (written in 917 or maybe 992) tells that Prince Shōtoku invited him to Ikaruga-no-miya Palace, and afterward kept him at Hōryū-ji. However, it is not regarded as an historical fact since the book is a grand sum of mythical biographies about him.