日本書紀
The "Nihon Shoki" gives the same episode in the same general gist, albeit more vaguely regarding this deity.