I don't know if it had words. We never sang it, but we didn't sing a lot of stuff. This is the tune (not our arrangement, but very nearly). It seems mostly to be attributed to Scotland, and I cannot find any lyrics.