三國遺事
However, according to Samguk Yusa: