Gesta Danorum
According to Starbäck and Bäckström, Saxo Grammaticus tells a related story in "Gesta Danorum".